JRS: In article <40e40c76$1$16452$c397aba (AT) news (DOT) newsgroups.ws>, seen in
news:comp.lang.javascript, David Thomas <davidwhthomas (AT) hotmail (DOT) com>
posted at Thu, 1 Jul 2004 13:07:03 :
Quote:
Thanks for that. You are absolutely right. I actually did a bit of
research and discovered the javascript 0 based getMonth(); scenario (i.e
january = 0, february 1 etc...)
I was also using getDay(); to return the date of the month when I should
have been using getDate(); so that explains it. thanks for your
feedback, I'm sure Mr Heisenberg would approve. |
Professor Werner Heisenberg (1901-76) should be given his proper style.
He had a Chair at Leipzig by 1930, and a Nobel Prize in 1932. I recall
attending a lecture by him.
If you had used the newsgroup FAQ with care, your problems should not
have occurred; see below.
Code should be indented, to show its logical structure.
Dates should be presented with leading zeroes for month % day,
preferably as YYYY-MM-DD or YYYY/MM/DD.
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://jibbering.com/faq/> JL / RC : FAQ for news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.