OsGetApparentRegionTimeString

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Created page with "{{osslfunc |threat_level=ignored |permissions=true |delay=0 |function_syntax=string osGetApparentRegionTimeString(integer format24) |ossl_example=<source lang="lsl"> // //osGe...")
 

Latest revision as of 12:34, 3 July 2020

string osGetApparentRegionTimeString(integer format24)
Returns a string with current region 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)
//
//osGetApparentRegionTimeString() example
//
default
{
    state_entry()
    {
        llSay(0, "Current Apparent Sun Hour: "+ osGetApparentRegionTimeString(1));
    }
}
Notes
Added in 0.9.2


Personal tools
General
About This Wiki