OsLoadedCreationDate

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
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.
  
<code><pre>
+
<source lang="lsl">
 
//Example Usage:
 
//Example Usage:
  
Line 14: Line 14:
 
     }
 
     }
 
}
 
}
</pre></code>
+
</source>
  
  
  
 
[[Category:OSSL]]
 
[[Category:OSSL]]

Revision as of 17: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);
    }
}
Personal tools
General
About This Wiki