Forums > Javascript

Bug with Date() function – GMT error?

January 8, 2007 | 10:37 pm

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)

(


January 8, 2007 | 10:46 pm

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!


Viewing 2 posts - 1 through 2 (of 2 total)