Segment of my code in latest eSignal:
var first_date = new Date( d.getFullYear(), d.getMonth(), 1 );
var first_day = d.getDay();
trace( "First day:"+first_date+"@"+first_day );
The output:
Starting at:Wed Sep 10 10:24:33 GMT-0400 (Eastern Standard Time) 2003
First day:Mon Sep 01 00:00:00 GMT-0400 (Eastern Standard Time) 2003@3
Should Sep. 1st of 2003 a Monday?
Also, who says Eastern standard time is GMT-4:00?????
var first_date = new Date( d.getFullYear(), d.getMonth(), 1 );
var first_day = d.getDay();
trace( "First day:"+first_date+"@"+first_day );
The output:
Starting at:Wed Sep 10 10:24:33 GMT-0400 (Eastern Standard Time) 2003
First day:Mon Sep 01 00:00:00 GMT-0400 (Eastern Standard Time) 2003@3
Should Sep. 1st of 2003 a Monday?
Also, who says Eastern standard time is GMT-4:00?????
Comment