RE: Re: Adding a year to tstamp date

2007-02-09 Thread cknell
s List Subject: Re: Adding a year to tstamp date [EMAIL PROTECTED] wrote: But the offset isn't applied. When I ${current.fy} I get "2007". Can someone offer me a solution to this? Looks like you can specify the units for offset, so try setting unit to

Re: Adding a year to tstamp date

2007-02-09 Thread Joel Klein
[EMAIL PROTECTED] wrote: But the offset isn't applied. When I ${current.fy} I get "2007". Can someone offer me a solution to this? Looks like you can specify the units for offset, so try setting unit to "year". The example from tstamp docs: -- Joel Klein

Re: Adding a year to tstamp date

2007-02-09 Thread Joel Klein
[EMAIL PROTECTED] wrote: But the offset isn't applied. When I ${current.fy} I get "2007". From the documentation example, it looks like the units of offset are in hours, intended to adjust for timezone. -- Joel Klein [Online at http://jfkbits.blogspot.com] --

Adding a year to tstamp date

2007-02-09 Thread cknell
I have a need to set the value of a property to the current fiscal year. For this purpose, that means that when running a build in October, November, or December, the value must be the current year +1. In any other month, the value is the same as the current year. I thought something like this