DMXzone Calendar 2 Support Product Page

date format NaN-NaN-NaN

12 years ago Dick Medema posted:
Hello DMXZone,
When I use the calendar date field dynamically move (from a mysql database) then shows the calendar the following field (NaN-NaN-NaN).
The date format I use is 29/11/2012

Greeting,
Dick

Replies

Replied 12 years ago
12 years ago Vulcho Vulev replied:
Hello Dick.

Did you specified the date format to be the same as your database in the dmxzone calendar 2 user interface ?

Regards:Vulcho.
Replied 12 years ago
12 years ago Dick Medema replied:
Hello Vulcho,

The date format in de datebase is the a ISO format year-mounth-day (2012-11-30) and in the calander 2 I take the format yy-mm-dd (2009-01-14)
This is still the same and should work.

I have a trick invented it's not nice but it works, I have a code to put and convert the date to a format (January 14, 2009) and this gives the calander 2 back as ISO date 14/01/2009.
Only displays the calander 2 now a javascript error message (in dreamweaver) if I want to edit the calander in dreamweaver, but difficult in the browser it works well now.

With kind regards,
Dick
Replied 3 years ago
3 years ago Jomina Anju replied:
ഡേറ്റ് ഫോർമാറ്റ്‌ കറക്റ്റ് ആക്കാൻ സഹായിക്കുക

Reply to this topic