DMXzone Calendar 2 Support Product Page

date format NaN-NaN-NaN

Asked 29 Nov 2012 15:21:28
1
has this question
29 Nov 2012 15:21:28 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 30 Nov 2012 10:31:58
30 Nov 2012 10:31:58 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 30 Nov 2012 10:59:49
30 Nov 2012 10:59:49 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 26 May 2021 07:21:22
26 May 2021 07:21:22 Jomina Anju replied:
ഡേറ്റ് ഫോർമാറ്റ്‌ കറക്റ്റ് ആക്കാൻ സഹായിക്കുക

Reply to this topic