15th July 2009, 06:38 PM
Right... got it!
day = today.getDay(); // Get the day in number form (0,1,2,3,etc.)
// Make year number correspond to correct year
if (year<1900) year=(year+1900)
else if (year>2000) year=year
Cunning huh... who says websites are held together with prayers and sticky tape!
Constant development is the law of life, and a man who always tries to maintain his dogmas in order to appear consistent drives himself into a false position.
Mohandas Gandhi
day = today.getDay(); // Get the day in number form (0,1,2,3,etc.)
// Make year number correspond to correct year
if (year<1900) year=(year+1900)
else if (year>2000) year=year
Cunning huh... who says websites are held together with prayers and sticky tape!
Constant development is the law of life, and a man who always tries to maintain his dogmas in order to appear consistent drives himself into a false position.
Mohandas Gandhi