OsGetApparentTime: Difference between revisions
From OpenSimulator
Jump to navigationJump to search
imported>Ubit No edit summary |
imported>Ubit No edit summary |
||
| Line 18: | Line 18: | ||
|description=Identical to osGetCurrentSunHour but returns time in seconds since midnight. | |description=Identical to osGetCurrentSunHour but returns time in seconds since midnight. | ||
| | | | ||
|additional_info=Added in 0.9.2 | |||
}} | }} | ||
Revision as of 19:13, 3 July 2020
float osGetApparentTime()
| |
| Identical to osGetCurrentSunHour but returns time in seconds since midnight. | |
| Threat Level | This function does not do a threat level check |
| Permissions | Use of this function is always allowed by default |
| Extra Delay | 0 seconds |
| Example(s) | |
//
//osGetCurrentSunHour() example, by Tom Earth.
//
default
{
state_entry()
{
llSay(0, "Current Apparent SUnTime: "+(string)osGetApparentTime());
}
}
| |
| Notes | |
| Added in 0.9.2 | |