OsLoadedCreationTime

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Added permissions and delay information)
m (XEngine to OSSL)
Line 1: Line 1:
 
{{osslfunc
 
{{osslfunc
 
|threat_level=Low
 
|threat_level=Low
|permissions=${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
+
|permissions=${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
 
|delay=0
 
|delay=0
 
|function_syntax=string osLoadedCreationTime()
 
|function_syntax=string osLoadedCreationTime()

Revision as of 07:42, 7 November 2019

string osLoadedCreationTime()
  • This function returns a string containing the time that a sim was first created. An example of the string returned is "2:06:48 AM".
  • It will return empty string if the region hasn't been created by oar import, or the region uses SQLite for region database.
Threat Level Low
Permissions ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
Extra Delay 0 seconds
Example(s)
//Example Usage:
 
default {
    touch_start(integer num) {
        string data = "\n\n Creation Date: " + osLoadedCreationDate();
        data += "\n Creation Time: " + osLoadedCreationTime();
        data += "\n Creation ID: " + osLoadedCreationID();
        llSay(0, data);
    }
}
Personal tools
General
About This Wiki