javascript Programming Glossary: iweekday1
Find day difference between two dates (excluding weekend days) http://stackoverflow.com/questions/3464268/find-day-difference-between-two-dates-excluding-weekend-days dDate2 dDate1 return 1 error code if dates transposed var iWeekday1 dDate1.getDay day of week var iWeekday2 dDate2.getDay iWeekday1.. dDate1.getDay day of week var iWeekday2 dDate2.getDay iWeekday1 iWeekday1 0 7 iWeekday1 change Sunday from 0 to 7 iWeekday2.. day of week var iWeekday2 dDate2.getDay iWeekday1 iWeekday1 0 7 iWeekday1 change Sunday from 0 to 7 iWeekday2 iWeekday2..
|