Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Jscript
➜ keeping track of time
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Shaun Biggs
USA (644 posts) Bio
|
| Date
| Thu 09 Oct 2003 08:07 AM (UTC) |
| Message
| I'm trying to keep track of the time it takes me to complete a quest. Unfortunately, I don't know how Jscript time functions work, and most tutorial sites have been getting me more confused. I just need a way of storing a time, and then comparing the current time to that stored time. Preferably getting differences in minutes and seconds.
In VBscript, it would be something like:
oldtime = now
minutes = DateDiff ("n", CDate (oldtime), now)
But I'd much rather use Javascript. |
It is much easier to fight for one's ideals than to live up to them. | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
6,413 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top