Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llGetTicks() or something

Ama Omega
Lost Wanderer
Join date: 11 Dec 2002
Posts: 1,770
07-19-2003 21:29
From: someone
Jan. 1st, 1970 00:00:00(GMT) STANDARD
Hi, this is a defacto standard, it sure would be handy in LSL! (I cannot believe it ISN'T already there! holy cow..)

llGetTime()
llGetTimeOfDay()
llGetDate()
etc...

pfffft! At times, I want real time, when I don't care what time the server booted, an object was created, or what date (preformatted!) it is.

You can dump at least 2 functions for the following new function:
llGetCompTimeStandardInSecondsSince00:00:00(GMT)Ja
n1st1970ThankYouVeryMuch();

You can opt for a shorter named function call, if that pleases you.

Thanks,
Bosozoku Kato
This deserves its own thread. I would definatly use this to schedule events in my scripts to make sure they don't get missed even if the server was down at the normal time, or anything else that may happen.

Also I want llGetDay() that returns the day of the week as a number or string.
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
07-20-2003 03:23
edit-how the hell did that happen... hmm :D
_____________________
i've got nothing. ;)
Bosozoku Kato
insurrectionist midget
Join date: 16 Jun 2003
Posts: 452
07-20-2003 06:05
Err, wrong thread Nada, this is about timestamps (and the standard of basing it off Jan 1st, 1970). Something which I believe 110% needs to be in ANY code/script language.

Any other time function (not timer functions) are derived from this value. So let's have it! :)

Boso

...course you might have cross posted, I just did a minute ago and can't find the post now :P
Bosozoku Kato
insurrectionist midget
Join date: 16 Jun 2003
Posts: 452
07-21-2003 02:40
From: someone
Originally posted by Nada Epoch
edit-how the hell did that happen... hmm


vBulletin < YaBB! :)