Hi
I am downloading an XML newsfeed into my MySql db and am having difficulty re-formatting the date fornmeach news item into the correct format for mysql (yyyy-mm-dd). It is being output in the feed as dd/mm/yyyy.
Using date_format('" & sDate & "', '%d-%m-%Y') within the
SQLString="INSERT INTO....." block only converts dates to '2020-01-20'
Please can you advise as to how to convert the date output into mysql date format for my INSERT statement.
This is driving me nuts!
I am downloading an XML newsfeed into my MySql db and am having difficulty re-formatting the date fornmeach news item into the correct format for mysql (yyyy-mm-dd). It is being output in the feed as dd/mm/yyyy.
Using date_format('" & sDate & "', '%d-%m-%Y') within the
SQLString="INSERT INTO....." block only converts dates to '2020-01-20'
Please can you advise as to how to convert the date output into mysql date format for my INSERT statement.
This is driving me nuts!