ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suu Quan" <sq...@wwc.com>
Subject Re: tstamp questions
Date Tue, 22 May 2001 17:57:49 GMT
After reading the discussion, I've arrived at this and just want to share
what I learned

   <property name="pattern1"
        value="EEEEEEEE dd MMMMMMMM yyyy hh:mm:ss:SSS aa zzzzzzzzzzz" />
        <!-- Tuesday 22 May 2001 10:22:38:242 AM Pacific Daylight Time -->

   <property name="pattern2" value="E d M y h'h' m'm' s's' S'ms' a z" />
      <!-- Tue 22 5 01 10h 31m 53s 670ms AM PDT -->
  <target name='init'>

<tstamp>
   <format property="MYTIMESTAMP1" pattern="${pattern1}" />
   <format property="MYTIMESTAMP2" pattern="${pattern2}" />
</tstamp>


Mime
View raw message