<propertyfile
    file="my.properties"
    comment"My properties" >
    <entry  key="adate" type="date" value="now"/>
</propertyfile>

The above xml puts the foll line into my.properties file:
adate=2000/11/02 23\:41
which is today's date and time

Its there in the documentation.

-----Original Message-----
From: fm [mailto:Fabian.Moerchen@math.uni-giessen.de]
Sent: Wednesday, April 18, 2001 11:07 PM
To: ant-user@jakarta.apache.org
Subject: Get current Date/Time


hi

is there a way to get the current date and time into a variable?

i want to create a target backup that tars a snapshot of the
project and uses the timestamp in the filename.

bye
fabian