OsGetApparentTime

From OpenSimulator
Revision as of 19:30, 3 July 2020 by imported>Ubit
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
float osGetApparentTime()
Returns parcel time in seconds since midnight. If parcel does not have own enviroment, region time is returned
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