I though I could use Javascript as follows:
// JavaScript syntax
function convDate(ms) {
put(Date(ms));
}However, typing this in the message window... convDate(1113847653189)
produces this... // Mon Apr 18 2005 16:55:13 GMT-0700
...which is the current time, not the time indicated by the integer passed in the argument above.
What am I missing?
Thanks, Tom -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tom Jacobs - InterVision --------------------------------------------------------------------------- (541) 343-7993 http://www.intervisionmedia.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
