problem with date format

Hello,

I’m having problem with date format, the event is inserted with an inverted start/end date.



Example : the event with start date : 01-05-2010 is inserted 05-01-2010.



Can you help me please?



Regards.

ERIC

If you are using dhtmlxScheduler - be sure to add the next line

scheduler.config.xml_date="%Y-%m-%d %H:%i";

which will define default data sending format.

dhtmlx.com/dhxdocs/doku.php?id=d … ialization

The problem is there with that line added. And i tried to add the next line but the problem remains.
 scheduler.config.api_date="%Y-%m-%d %H:%i";

I’m working with MSSQL database.


In case of MSSQL you can try to use the following:


scheduler.config.xml_date="%m/%d/%Y %H:%i";