Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: all calendars display 12/31/1969
ewitch
Junior Member

Posts: 2
Registered: 5/5/2006
Member Is Offline
posted on 5/5/2006 at 08:52 AM Reply With Quote
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!
View User's Profile View All Posts By User U2U Member
ewitch
Junior Member

Posts: 2
Registered: 5/5/2006
Member Is Offline
posted on 5/8/2006 at 09:33 AM Reply With Quote
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.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Free Download Free Download
Product Documentation Documentation
Support Forum Support Forum
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004