OsGetApparentTime

From OpenSimulator
Revision as of 19:11, 3 July 2020 by imported>Ubit (Created page with "{{osslfunc |threat_level=ignored |permissions=true |delay=0 |function_syntax=float osGetApparentTime() |ossl_example=<source lang="lsl"> // //osGetCurrentSunHour() example, by...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
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)osGetCurrentSunHour());
    }
}