Re: Adding System Date to Output File Name
- From: Dr John Stockton <jrs@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 29 Aug 2006 22:11:24 +0100
JRS: In article <1156811071.699716.3090@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
dated Mon, 28 Aug 2006 17:24:31 remote, seen in news:microsoft.public.sc
ripting.vbscript, thao.ton@xxxxxxxxxx posted :
Novice question. How do I modify my script to:
1)
2) include the run date (YYYYMMDD) in the output file naming convention
so that daily output files are not overridden
X = Now
X = (Year(N)*100+Month(N))*100+Day(N)
Then include X in the name string, using & .
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.com/faq/>? JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/vb-dates.htm> VB maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
.
- References:
- Adding System Date to Output File Name
- From: thao . ton
- Adding System Date to Output File Name
- Prev by Date: Re: Time in intervals
- Next by Date: Re: Access is denied to this object
- Previous by thread: Adding System Date to Output File Name
- Next by thread: IF Statement....
- Index(es):