OsLoadedCreationTime

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (some format conversions)
m (some syntax modification (may be major or minor))
Line 1: Line 1:
 
{{osslfunc
 
{{osslfunc
 
|threat_level=Low
 
|threat_level=Low
|function_syntax=osLoadedCreationTime()
+
|function_syntax=string osLoadedCreationTime()
 
|ossl_example=<source lang="lsl">
 
|ossl_example=<source lang="lsl">
 
//Example Usage:
 
//Example Usage:

Revision as of 02:32, 2 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".
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