starlight2003
Technical User
Hi
I have several text files with data which looks like this:
01.02.2009 Søndag 06:59 08:29 12:36 14:33 16:33 18:03
02.02.2009 Mandag 06:57 08:27 12:36 14:35 16:36 18:06
I need to convert the dates from the format DD.MM.YYYY to
YYYY-MM-DD
For example the occurence of 01.02.2009 must be changed to
2009-02-01 and keeping the rest of the data as it is. By doing this I can import the files into MySQl and filter the times based on a specific date.
Thanks.
I have several text files with data which looks like this:
01.02.2009 Søndag 06:59 08:29 12:36 14:33 16:33 18:03
02.02.2009 Mandag 06:57 08:27 12:36 14:35 16:36 18:06
I need to convert the dates from the format DD.MM.YYYY to
YYYY-MM-DD
For example the occurence of 01.02.2009 must be changed to
2009-02-01 and keeping the rest of the data as it is. By doing this I can import the files into MySQl and filter the times based on a specific date.
Thanks.