OsGetApparentTimeString

From OpenSimulator

Revision as of 12:22, 3 July 2020 by Ubit (Talk | contribs)

Jump to: navigation, search
string osGetApparentTimeString(integer format24)
returns a string with current sun hour. Will use 12 or 24 hour format if format24 is 0 or 1, respectible.
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)
//
//osGetApparentTimeString() example
//
default
{
    state_entry()
    {
        llSay(0, "Current Apparent Sun Hour: "+ osGetApparentTimeString(1));
    }
}
Notes
Added in 0.9.2


Personal tools
General
About This Wiki