Hi i have an csv file which i have a date time column which i
need to upload to mysql database column with is formatted as
datetime
the problem i have is the csv is formatting the date time as
mm-dd-yyyy hh:mm:ss which will not upload
i have tried uploaing via a http request, is there a way of
changing the format in th csv or adding some cf code to change the
format after the http request
Probably not but you can try it. Dateformat returns a string,
not a datetime object. CreateDateTime will create a datetime object
but you have to use it the way the manual tells you to. From then,
either createodbcdatetime or cfqueryparam will work.
Probably not but you can try it. Dateformat returns a string,
not a datetime object. CreateDateTime will create a datetime object
but you have to use it the way the manual tells you to. From then,
either createodbcdatetime or cfqueryparam will work.