LlGetTimeOfDay

From Second Life Wiki

(Redirected from LSL llGetTimeOfDay)
Jump to: navigation, search

Contents

Description

Function: float llGetTimeOfDay( );
80 Function ID
0.0 Delay
10.0 Energy

Returns a float that is the time in seconds with subsecond precision since Second Life midnight or region up-time (time since when the region was brought online/rebooted); whichever is smaller. If the region is configured so the sun stays in a constant position, then the returned value is the region up-time.

Second Life days cycles are 4 hours long (3 hours of light, 1 hour of dark). The sunrise and sunset time varies slowly (following the seasons?).

Examples

See Also

Functions

•  llGetSunDirection
This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.
Personal tools