ewitch
Junior Member
Posts: 2
Registered: 5/5/2006
Member Is Offline
|
| posted on 5/5/2006 at 08:52 AM |
|
|
all calendars display 12/31/1969
Sorry if this has been discussed but I was looking for 1969 in the subject headings.
I am calling multiple calendars on a page; it worked until I made some changes (removed fields with calendars associated and removed the calendar
objects as well). Now all calendar fields display 12/31/1969 and cannot be changed.
Here is how I am creating the calendar objects:
var cal_dt_created = new calendar22(document.forms['PricingForm'].elements['dt_created']);
Thanks in advance for any help you can provide!
|
|
|
ewitch
Junior Member
Posts: 2
Registered: 5/5/2006
Member Is Offline
|
| posted on 5/8/2006 at 09:33 AM |
|
|
I figured this out - PHP problem
I was using this function: http://us3.php.net/strtotime and checking for a return value
of -1; however I had upgraded to PHP 5 where it returns FALSE and then defaults to 12/31/1969. So not a problem with the calendar. Whew.
|
|
|