ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Jackson" <foamd...@gmail.com>
Subject Re: How to get the month number thro ant.
Date Mon, 21 May 2007 11:03:49 GMT
Hi,

#1 Read the manual, there's a task[1] just for this

  <tstamp>
      <format property="current.month" pattern="MM"/>
  </tstamp>

Hope this helps.
Kev

[1] http://ant.apache.org/manual/CoreTasks/tstamp.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message