Difference between revisions of "LlGetTimeOfDay"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
|func_footnote=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?). | |func_footnote=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?). | ||
|func_desc | |func_desc | ||
|return_text=that is the time in seconds with subsecond precision since Second Life | |return_text=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. | ||
|spec | |spec | ||
|caveats | |caveats |
Revision as of 21:46, 28 September 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: float llGetTimeOfDay( );80 | Function ID |
0.0 | Forced 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?).
Caveats
Examples
See Also
Functions
• | llGetSunDirection |