Bug with Date() function – GMT error?

Jan 8, 2007 at 10:37pm

Bug with Date() function – GMT error?

Hello. I am uncertain if I am doing something wrong, misunderstanding some basics, or have found a bug.

If I have the javascript within max:

function now()
{
rightnow = new Date();

post(rightnow.toString(), “nr”);

}

this returns within the max console:
Sun Jan 07 2007 17:32:53 GMT+1445 (EDT)

(

#29566
Jan 8, 2007 at 10:46pm

Ok, besides the forum not only not showing the whole message Ive posted either in preview or in the actual posting, it now randomly logs me off.

Ive posted this report to the main Max list, knowingly. Feel free to delete this topic, or move the main Max thread here.

Apologies, for posting to the wrong forum, but hey, I tried!

#92783

You must be logged in to reply to this topic.