OsLoadedCreationDate

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
'''osLoadedCreationDate'''()
+
{|  width="100%" style="border: thin solid black"
 +
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
 +
|- valign="top"
 +
|'''Threat Level''' || 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.
+
|- valign="top"
 
+
|'''Function Syntax''' || <source lang="lsl">
<source lang="lsl">
+
osLoadedCreationDate()
 +
</source>
 +
|- valign="top"
 +
|'''Example(s)||<source lang="lsl">
 
//Example Usage:
 
//Example Usage:
  
Line 16: Line 22:
 
</source>
 
</source>
  
 +
|}
  
 +
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".
  
[[Category:OSSL]]
+
[[Category:OSSL Functions]]

Revision as of 09:39, 11 June 2011

OsLoadedCreationDate
Threat Level Low
Function Syntax
osLoadedCreationDate()
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);
    }
}

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".

Personal tools
General
About This Wiki