Dr
Sat Nov 05 15:16:43 CST 2005
JRS: In article <1131116278.781427.239020@z14g2000cwz.googlegroups.com>
, dated Fri, 4 Nov 2005 06:57:58, seen in news:microsoft.public.scriptin
g.vbscript, Guido <tom.veroni@sncorp.com> posted :
> need to find a way to change filenames that relect the filename and
>the date modified. I have found numerous ways to get the current date
>and time appended to the filename but nothing with date modified. I
>have users that need to have this in the filename and I am in search of
>
>some help in this matter. Example is a file named test.txt with a date
>
>modified 1/31/2005. I would like the filename to be test
>(1/31/2005).txt. Thanks in advance ...
It is much better to use fixed-width strings for such purposes, and ones
with fields in a logical order. Eschew FFF; follow ISO 8601 and use
YYYY-MM-DD or YYYYMMDD. You don't *have* do disregard a FIPS.
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 MIME. ©
Web <URL:
http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
PAS EXE etc : <URL:
http://www.merlyn.demon.co.uk/programs/> - see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.