Insert File Name and Date/Time Macro - formatting is odd
Posted: Wed Jan 18, 2012 8:25 pm
If one in North America uses the "Insert Filename and Date/Time" macro he/she would get say
File Name: D:\Documents and Settings\arthur\My Documents\ProjectXYZ\FTP_Files.bat
Date/Time: 18 January 2012 15:19 PM
1st: Date/Time it has the / which bears a special meaning in most prog languages.
2nd: 18 January 2012 15:19 PM is not a correct format.
In North America this needs to be
January 18 2012 03:19 PM
I suggest to abbreviate the month to to Jan. 18 2012 3:19 PM. Perhaps PC locale needs to be used here?
3rd: So why do I get the complete path? Well, the name of the macro I would like: "Insert File Name and Date" and it would give me -
File: FTP_Files.bat Date: Jan. 18 2012 03:19 PM
File Name: D:\Documents and Settings\arthur\My Documents\ProjectXYZ\FTP_Files.bat
Date/Time: 18 January 2012 15:19 PM
1st: Date/Time it has the / which bears a special meaning in most prog languages.
2nd: 18 January 2012 15:19 PM is not a correct format.
In North America this needs to be
January 18 2012 03:19 PM
I suggest to abbreviate the month to to Jan. 18 2012 3:19 PM. Perhaps PC locale needs to be used here?
3rd: So why do I get the complete path? Well, the name of the macro I would like: "Insert File Name and Date" and it would give me -
File: FTP_Files.bat Date: Jan. 18 2012 03:19 PM