I don't think it's any good. the "property" attribut for <format> is the propery which will store the date. <timestamp> only sets the property to the current date/time
Thanks anyway, Roland > -----Message d'origine----- > De : Hari Kodungallur [mailto:hkodungallur@;rediffmail.com] > Envoye : mercredi 13 novembre 2002 16:32 > A : Ant Users List > Objet : Re: converting date/time > > > Try > > <tstamp> > <format property="MY.TIME" pattern="yyyy-MM-dd"/> > </tstamp> > > and use the value of the property MY.TIME > > -HK > > > > On Wed, 13 Nov 2002 EXT / FOCAL MALAPRADE Roland wrote : > >I have a series of month-based directories in the format > >"DirName_yyMM". So > >for example: DirName_0206 is the directory for June 2002. > > > >In these directory, I need to replace dates in some files, but I > >need the > >date in the format yyyy-MM-dd, for example, "2002-06-01". > > > >Is there any task that can do this? like a <tstamp> where you > >could specify > >the date/time instead of the current date/time. > > > >I suppose I could just write a task myself, but if something like > >that > >already exists, it would make my life easier... or lazier ;-) > > > >Thanks, > >Roland. > > > > > >-- > >To unsubscribe, e-mail: > ><mailto:ant-user-unsubscribe@;jakarta.apache.org> > >For additional commands, e-mail: > ><mailto:ant-user-help@;jakarta.apache.org> > > > > __________________________________________________________ > Give your Company an email address like > ravi @ ravi-exports.com. Sign up for Rediffmail Pro today! > Know more. http://www.rediffmailpro.com/signup/ > > > -- > To unsubscribe, e-mail: > <mailto:ant-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: > <mailto:ant-user-help@;jakarta.apache.org> > -- To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>