http://ant.apache.org/manual/CoreTasks/tstamp.html
<format>

See the example.


Jan 

>-----Ursprüngliche Nachricht-----
>Von: Karunakar Chatla [mailto:[EMAIL PROTECTED] 
>Gesendet: Mittwoch, 10. August 2005 17:32
>An: Ant Users List
>Betreff: Retrieving current date & time values in defferent variables
>
>
>Hi,
>
>I wanted to retrieve date ant time values values of current 
>time in defferent variables - Like...
> Day in a variable called today.day
> Year in a variable called today.year and so on for month, 
>hour, min and second.
>Can anybody help me out with this?
>I can get current time from TStamp but how can I get the 
>values to different variables. I have to form another string 
>using these variables.
>
>Thanks,
>Karunakar Chatla
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to