OsGetPSTWallclock

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 17: Line 17:
 
|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
 
|additional_info=This is replacement for llGetWallclock for those who need PST/PDT time, since llGetWallClock() returns the region  machine local time
added 2019 April 8th
+
added 2019 April 8
 
}}
 
}}

Revision as of 06:16, 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
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

added 2019 April 8


Personal tools
General
About This Wiki