![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
For appreciably shorter code to give a somewhat similar display, see URL:http://www.merlyn.demon.co.uk/js-date6.htm#DP>. While the calendar itself works, there is a problem with the Show button at the foot of the page; the code of the function InitCalendar is displayed incorrectly. Is a fix obvious to any expert? |
#2
| |||
| |||
|
|
On the subject of dates, I have perceived a little-known feature which can in fact cause error in operation. In, at least, my MSIE 4, new Date('2003/04/05 06:07p') is accepted; but now p is not short for /post meridiem/, but represents the military P time zone, which contains Moscow (P = Putin). A represents the Azores zone, Z represents GMT (Zulu time, which the true Zulus do not normally use), and all the other letters have corresponding meanings except for J, which yields NaN. |
.
#3
| |||
| |||
|
|
Dr John Stockton <spam (AT) merlyn (DOT) demon.co.uk> writes: On the subject of dates, I have perceived a little-known feature which can in fact cause error in operation. In, at least, my MSIE 4, new Date('2003/04/05 06:07p') is accepted; but now p is not short for /post meridiem/, but represents the military P time zone, which contains Moscow (P = Putin). A represents the Azores zone, Z represents GMT (Zulu time, which the true Zulus do not normally use), and all the other letters have corresponding meanings except for J, which yields NaN. (Military timezones by letter: URL:http://greenwichmeantime.com/info/timezone.htm They only needed 25, but I have no idea why it was "J" they left out. Probably because it is too close to "I") |
![]() |
| Thread Tools | |
| Display Modes | |
| |