See D:\Dev\tools\ant\docs\manual\CoreTasks\tstamp.html
 
You need to use include the <tstamp/> tag in an initialization target, a target that's called before any other targets are run. 
See  D:\Dev\tools\ant\docs\manual\using.html for more info - do a search for tstamp
to find the section I'm referring to.
 
<echo message="${DSTAMP}"/>
<echo message="${TSTAMP}"/>
<echo message="${TODAY}"/>
 
Running the above lines in an ant script produces:
 
[echo] 20010830
[echo] 1003
[echo] August 30 2001
 
>>> [EMAIL PROTECTED] 08/30/01 09:47AM >>>
Is it possible to use echo to dump a timestamp to stdout?
 

-------------------------------------
Michael Laccetti

Developer, Eldan Software
[EMAIL PROTECTED]
 

Reply via email to