According to the Safari browser the world began on "Fri Dec 13 1901
15:45:52 GMT-0500", but I need to be able to get around this limitation.
I am interested in dates from 1500 to 1901, as far as I can determine,
there are 14 possible calendar variations.
Year starts on Sun, Mon.....
Leap year starts on Sun, Mon..
I can label these early year "types" as a number between 0 and 13.
Let's say 2005 is type 5, and that 1655 is too. (In both years Jan 1
falls on a Saturday)
I'm trying to create a function that will identify the "type" of year.
function getYearType(yea r){
return Number // number between 0 and 13
}
Any suggestions?
Mick
15:45:52 GMT-0500", but I need to be able to get around this limitation.
I am interested in dates from 1500 to 1901, as far as I can determine,
there are 14 possible calendar variations.
Year starts on Sun, Mon.....
Leap year starts on Sun, Mon..
I can label these early year "types" as a number between 0 and 13.
Let's say 2005 is type 5, and that 1655 is too. (In both years Jan 1
falls on a Saturday)
I'm trying to create a function that will identify the "type" of year.
function getYearType(yea r){
return Number // number between 0 and 13
}
Any suggestions?
Mick
Comment