It is currently April 27th, 2024, 11:17 am

how can I add a day to the date?

Get help with installing and using Rainmeter.
User avatar
Michelle911
Posts: 11
Joined: December 16th, 2011, 9:37 pm

how can I add a day to the date?

Post by Michelle911 »

hi, I have a few different world clocks running and in parts of the world where it's tomorrow and not today (lol) the date still reads as the 22nd when actually it should be the 23rd.

I'm pretty noob to scripting but usually muddle my way thru things, I'm stuck here.

Can't find anything by searching either so will appreciate any help at all.
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

Re: how can I add a day to the date?

Post by Kaelri »

If your skins are using the standard Time measure, then you can use the TimeZone option. For example:

Code: Select all

[MeasureTime]
Measure=Time
TimeZone=+4.0
This would give you the time for a location 4 hours ahead of GMT.

Note that this can get a little tricky when you're dealing with things like daylight savings time.
User avatar
Michelle911
Posts: 11
Joined: December 16th, 2011, 9:37 pm

Re: how can I add a day to the date?

Post by Michelle911 »

I get it now, I was using TimeZone=+x.x only in my hours section, so my time was reading correctly but not my date.

thank you for that and the fast reply :)