OsGetPSTWallclock: Difference between revisions

From OpenSimulator
Jump to navigationJump to search
imported>Ubit
Created page with "{{osslfunc |threat_level= |permissions= |delay=0 |function_syntax=float osGetPSTWallclock() |ossl_example= <source lang = "lsl"> // Example of osGetPSTWallclock default { ..."
 
imported>Ubit
No edit summary
Line 15: Line 15:
}
}
</source>
</source>
|description=returns the current PST or PDT time in seconds since midnight }}
|description=returns the current PST or PDT time in seconds since midnight
|additional_info=This is replacement for llGetWallclock for those who need PST/PDT time, since llGetWallClock() returns the region  machine local time
}}

Revision as of 14:14, 8 April 2019

float osGetPSTWallclock()
returns the current PST or PDT time in seconds since midnight
Threat Level No threat level specified
Permissions No permissions specified
Extra Delay 0 seconds
Example(s)
// Example of osGetPSTWallclock
default
{
    state_entry()
    {
        llSay(0, "started at at " + (string)osGetPSTWallclock());
    }
}
Notes
This is replacement for llGetWallclock for those who need PST/PDT time, since llGetWallClock() returns the region machine local time