Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1065

Help: Rainmeter Skins • Re: Change Time Zone

$
0
0
I've added Clock.ini.
I assume by Clock.ini you mean the Clock skin of the default illustro package, right?
I've added Clock.ini.
I'm on the West Coast. I'd like this clock to show Eastern Time. I need to subtract 3 hours from the fetched time. The current line of code is:
Measure=Time
How do I subtract 3 hours from this assignment?
If you are and want to set it to the time of Eastern Coast, the easiest way to do this is to add a TimeZone=-4 option to the [measureTime] measure. If I'm not wrong this is the time zone used on USA's Eastern coast. If I'm wrong, use the proper value.

But you can do it a little bit more complicated, as you asked: you can subtract 3 hours from your current time. For this add the following Time measure to your code:

Code:

[MeasureCurrentTime]Measure=Time
Then add the following two options to the [measureTime] measure (don't alter the existing options, just add these):

Code:

[measureTime]...TimeStamp=([MeasureCurrentTime:TimeStamp]-3*3600)DynamicVariables=1

Statistics: Posted by balala — Yesterday, 7:28 pm



Viewing all articles
Browse latest Browse all 1065

Trending Articles