OsLoadedCreationTime
From OpenSimulator
(Difference between revisions)
| Line 1: | Line 1: | ||
| − | + | {| width="100%" style="border: thin solid black" | |
| + | | colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}''' | ||
| + | |- valign="top" | ||
| + | |'''Threat Level''' || Low | ||
| − | + | |- valign="top" | |
| − | + | |'''Function Syntax''' || <source lang="lsl"> | |
| − | <source lang="lsl"> | + | osLoadedCreationTime() |
| + | </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 time that a sim was first created. An example of the string returned is "2:06:48 AM". | ||
| − | [[Category:OSSL]] | + | [[Category:OSSL Functions]] |
Revision as of 09:42, 11 June 2011
| OsLoadedCreationTime | |
| Threat Level | Low |
| Function Syntax | osLoadedCreationTime() |
| 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 time that a sim was first created. An example of the string returned is "2:06:48 AM".