You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Karunakar Chatla <ka...@cybage.com> on 2005/08/10 17:32:29 UTC
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