International date format

I am using the scheduler in read-only mode to display data from a SQL database, but it is not interpreting the dates correctly. It is transposing the date format from dd/mm/yyyy to mm/dd/yyyy - so a date from the database of June 1 is displaying on the calendar in Jan 6.

I am no coding expert, so if someone can help on how to resolve this I would be most appreciative. I have read through the documentation, but I am not sure what to do.

Thanks

You can configure date formats for all places in scheduler
Check

docs.dhtmlx.com/doku.php?id=dhtm … ngs_config

Thanks for the quick reply. I understand that the way that the dates are displayed can be changed as per the link that you included.

The thing that I can’t work out is how to parse the date that is coming from the database so that it is correctly displayed on the calendar. (so when it comes from the database as April 7 that it doesn’t get transposed to July 7)

My apologies if I am missing something really obvious.

Thanks again.

Format of data in the xml ( DB ) , defined by
scheduler.config.xml_date
which is xml_date:"%m/%d/%Y %H:%i" by default, you can change it to any other necessary format.

Thanks, I was assuming that this is what I needed to use, but your confirmation takes out all my geuss work.