OsGetApparentTime

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
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 11: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


Personal tools
General
About This Wiki