It is currently May 19th, 2024, 8:32 pm

UTC Timezone

Get help with creating, editing & fixing problems with skins
User avatar
Halloyo
Posts: 31
Joined: June 17th, 2020, 3:08 am

UTC Timezone

Post by Halloyo »

Hello,

If I add TimeZone=0 to a time measure, the resulting date is 1 hour early (Ex: the real UTC time is 21:00, but Rainmeter returns 22:00). Is it because of DST? If so, how would I always have it so that it is UTC time?

EDIT: Woops. Dumb question. Fixed it.
eris
Posts: 2
Joined: April 29th, 2024, 6:11 pm

Re: UTC Timezone

Post by eris »

I have the same "dumb question". How did you fix it?
User avatar
balala
Rainmeter Sage
Posts: 16244
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: UTC Timezone

Post by balala »

eris wrote: April 29th, 2024, 6:13 pm I have the same "dumb question". How did you fix it?
I reply, telling you that this can be fixed by adding a DaylightSavingTime=0 option to the Time measure. This is needed, because by default Rainmeter applies the daylight saving time if your computer uses it. You can turn off this "feature" by the above option.
eris
Posts: 2
Joined: April 29th, 2024, 6:11 pm

Re: UTC Timezone

Post by eris »

Thank you for your help.
User avatar
balala
Rainmeter Sage
Posts: 16244
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: UTC Timezone

Post by balala »

eris wrote: April 30th, 2024, 6:54 am Thank you for your help.
Glad to help.