<tstamp> <format ... <format ... ... </tstamp>
Usual XML: an element can contain multiple nested elements of the same type (only for some task this isnt valid, they´ll throw an BuildException then). Jan >-----Ursprüngliche Nachricht----- >Von: Karunakar Chatla [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 10. August 2005 17:47 >An: Ant Users List >Betreff: Re: Retrieving current date & time values in >defferent variables > >I think it gets the timestamp to only one property. >I wanted each time part in separate property. >Like... >year in a property called today.year >day in a property called today.day >month in a property called today.month >hour in a property called today.hour >minutes in a property called today.min and seconds in a >property called today.sec > >I hope I cleared my point here. >Plese let me know if I am not getting your point. > > >----- Original Message ----- >From: <[EMAIL PROTECTED]> >To: <user@ant.apache.org> >Sent: Wednesday, August 10, 2005 9:08 PM >Subject: AW: Retrieving current date & time values in >defferent variables > > >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] > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]