Time Zones

Topics for the MainLobby 4 client
chuck99z28
Intermediate
Intermediate
Posts: 346
Joined: Mon Aug 27, 2012 2:10 pm
Contact:

Time Zones

Postby chuck99z28 » Tue Sep 16, 2014 1:55 pm

If I wanted to make a clock with five different times zones.

What would be a good way to add or subtrack hours from the currenthmsmil variable?

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: Time Zones

Postby CinemarDave » Tue Sep 16, 2014 6:28 pm

I think this math works.

Assuming EDT going to PDT

Whenever {{currenthourampm}} changes value
Macro|Math|Subtract~pdt_hr~{{pdt_hr}}~3!If|IsLT##{{pdt_hr}}##1##Math|Add~pdt_hr~{{pdt_hr}}~12##


Just add in the math for the other time zones your interested into the macro.


Return to “MainLobby 4 Client”

Who is online

Users browsing this forum: No registered users and 1 guest