Yet more unhelpfulness. I was calculating the last day of the month, so I picked the first day added a month and subtracted a day. Unless the month had 31 days, it would return the day as 32.
I changed tack and used the MONTH_DAYS instead, which works better for what I need, but If I needed to calculate yesterday from the start of a month, no worky.
Framework was version 1.5 when I tried it.
__________________
Give all victory and gain to others
Take all defeat and loss upon yourself
|