Unix2StampLst
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials | User-Defined Functions | Void's User Page |
User-Defined Function: list uUnix2StampLst( integer vIntDat );
Returns a list that is a Unix time code converted to the format [Y, M, D, h, m, s]
- vIntDat: source Unix time code to convert
Code:
- LSO: 541 bytes
- MONO: 1024 bytes
<lsl>list uUnix2StampLst( integer vIntDat ){
if (vIntDat / 2145916800){vIntDat = 2145916800 * (1
Caveats
- Time codes before the year 1902 or past the end of 2037 are capped to the first second of 1902 and 2038 respectively