I’m working on an ant script. In this particular part, I need to get the current month, as well as the prior month. I was thinking something similar to
<tstamp>
<format property="thismonth" pattern="MMyy"/> <!-- 0210 by february 2010-->
</tstamp>
<!--I'd like to get 0110 (january 2010) here, but can't imagine how-->
<property name="priormonth" value="?">
I’ve been reading on property helpers, but I cant get what I need.
Any ideas?
Thanks in advance.
You can do it with a custom JavaScript scriptdef: