[thelist] JavaScript date problem

kristina kristina at kfx-design.co.uk
Wed Jan 2 10:45:34 CST 2002

on Wednesday, January 02, 2002, 4:32:33 PM, kristina wrote:

>     var Day = DaySub[today.getDay()];

sincerest apologies for this post

but for some reason the previous script gave out a date 2 days more
then the actual date - so I've added the following

var Day = DaySub[today.getDay()-2];

Is there any reason why I shouldn't do this?


kristina at kfx-design.co.uk

More information about the thelist mailing list