OsLoadedCreationDate
From OpenSimulator
(Difference between revisions)
Line 3: | Line 3: | ||
This function returns a string containing the date that a sim was first created. An example of the string returned is "Monday, December 07, 2009". osLoadedCreationDate has a threat level of Low. | This function returns a string containing the date that a sim was first created. An example of the string returned is "Monday, December 07, 2009". osLoadedCreationDate has a threat level of Low. | ||
− | < | + | <source lang="lsl"> |
//Example Usage: | //Example Usage: | ||
Line 14: | Line 14: | ||
} | } | ||
} | } | ||
− | </ | + | </source> |
[[Category:OSSL]] | [[Category:OSSL]] |
Revision as of 16:36, 5 June 2011
osLoadedCreationDate()
This function returns a string containing the date that a sim was first created. An example of the string returned is "Monday, December 07, 2009". osLoadedCreationDate 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); } }