Hi all,
Here is a problem I'm having. I have to import a text file with strings identify dates, but unfortunately they are in a weird format. Instead of using a leading zero to identify a day and month they use the following format:
112013 means January first 2013
10122013 means October 12th 2013
the format i need them in is:
01012013 January 1st 2013
10122013 means October 12th 2013
basically it needs to be a consistent 8 character date string with leading zeros for single digit values. I'm sure I can figure this out, but I'd like to do it with the least amount of code possible. Any suggestions?
Thanks,
Sam
Here is a problem I'm having. I have to import a text file with strings identify dates, but unfortunately they are in a weird format. Instead of using a leading zero to identify a day and month they use the following format:
112013 means January first 2013
10122013 means October 12th 2013
the format i need them in is:
01012013 January 1st 2013
10122013 means October 12th 2013
basically it needs to be a consistent 8 character date string with leading zeros for single digit values. I'm sure I can figure this out, but I'd like to do it with the least amount of code possible. Any suggestions?
Thanks,
Sam