Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

SL Time, ok, its UTC - 8 hours but is what about daylight saving?

Dolphin Shinn
Registered User
Join date: 10 Feb 2009
Posts: 2
08-12-2009 02:09
Is SL Time available to scripts. Sure it can be derived from UTC but how do I check if a daylight saving hour should be added?

Sorry if this has been covered. I searched but couldn't find anything.
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
08-12-2009 02:17
Use llGetWallclock() as basis. It gives the PST or PDT automatically. If you need another timezone just add a constant hour to get there.
Happy scripting:)
_____________________
From Studio Dora
Dolphin Shinn
Registered User
Join date: 10 Feb 2009
Posts: 2
08-12-2009 02:24
Ahhh, thank you Dora. I knew I was overlooking something basic.