OsLoadedCreationTime

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (some syntax modification (may be major or minor))
Line 14: Line 14:
 
}
 
}
 
</source>
 
</source>
|description=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".  
+
|description=*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.
 +
 
 
|
 
|
 
}}
 
}}

Revision as of 01:26, 9 July 2011

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 No permissions specified
Extra Delay No function delay specified
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