How do you convert the date-time format of an entry inside a logfile to be the same as the date-time format of the file itself?
Example:
logfile.txt has timestamp:
'date modified' 2013-07-31 03:15
has the following entry inside it
2013/07/31 03:15 DATABASE SUCCESSFULLY COMPLETED
Using a batch script, how do I convert the 2013/07/31 to 2013-07-31 inside the logfile?
And just out of curiosity, is it possible to change the format of the date-time of the Windows OS? Eg. the timestamp you see on files and folders that are either YYYY/MM-DD or YYYY-MM-DD ?