OsLoadedCreationTime

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(New page: 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". osLoadedCreationTime has a thre...)
 
Line 16: Line 16:
 
</pre></code>
 
</pre></code>
  
--[[User:ZauberExonar|ZauberExonar]] 02:21, 6 February 2010 (UTC)
+
 
 +
[[Category:OSSL]]

Revision as of 08:48, 19 November 2010

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". osLoadedCreationTime has a threat level of Low.

//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