peterb1985
MIS
I have a csv file that i'm trying to load into a mysql database, using a coldfusion page.
In the csv file the date is in the format dd/mm/yyyy but when i use #dateformat(string,"yyyy-mm-dd")# to store it in my database, if the date is at the begging of the month then it swaps the day and the month. For example:
03/08/2005 = #dateformat(string,"yyyy-mm-dd")# = 2005-03-08 instead of 2005-08-03
Is there a way to stop this?
In the csv file the date is in the format dd/mm/yyyy but when i use #dateformat(string,"yyyy-mm-dd")# to store it in my database, if the date is at the begging of the month then it swaps the day and the month. For example:
03/08/2005 = #dateformat(string,"yyyy-mm-dd")# = 2005-03-08 instead of 2005-08-03
Is there a way to stop this?