|
Stak Skolnick
Registered User
Join date: 26 Feb 2006
Posts: 8
|
10-18-2007 16:24
It's 03:46 PDT, which is a quarter to midnight Linden Time. The moon is up against a night sky. But llGetTimeOfDay() says it's 1:23 LT, nearly an hour after sunrise.
Later...
It's 04:07 PDT, and llGetTimeOfDay says 0:07 LT, as it should.
What happened?
|
|
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
|
10-18-2007 17:05
Wiki says.... From: someone Returns a float that is the time in seconds since Second Life server midnight (or since server up-time; whichever is smaller) Maybe the rolling restart made it a bit weird for a while.. Also, IIRC, there's 4 SL day/night cycles per 24 RL hours. Where the moon is doesn't tell you much.
|
|
Stak Skolnick
Registered User
Join date: 26 Feb 2006
Posts: 8
|
10-22-2007 01:10
From: Sindy Tsure Wiki says....
Maybe the rolling restart made it a bit weird for a while..
Also, IIRC, there's 4 SL day/night cycles per 24 RL hours. Where the moon is doesn't tell you much. Sounds like the rolling restart was the reason. The 4-hour day is (in my experience) synchronised to PDT: the SL days are 00:00 to 04:00, 04:00 to 08:00, and so on. There appears to be a precise correspondence between sun/moon position and time of SL day, although I haven't closely examined what it is. I have a clock that displays Linden Time using llGetTimeOfDay, which I might recode to use the sun position.
|