I am creating a web app to analyze data from a client's custom database. I am having difficulty finding a way how to convert the client's log file entries from 12 hour clock to 24 hour clock. The Database that I am setting this up with cannot read 12 hour time format, so is displaying the time wrong.
Log files I am using look like this:
Site_Name,number_of_clicks,DD/MM/YYYY_2:00PM,Interaction_Type
I need to convert the log files to look like this:
Site_Name,number_of_clicks,DD/MM/YYYY_14:00,Interaction_Type
There are tens of thousands of enteries per log file, so there is no way this can be done per entry. I need to figure out a way to bulk convert the entries to 24-hour clock for each of the log files.
Any help would be greatly appreciated!
Thanks!
Aaron