Thread: Zend_Date bug?
View Single Post
  #3 (permalink)  
Old 05-12-2008, 06:53 PM
Ewok's Avatar
Ewok Ewok is offline
Junior Member
 
Join Date: Mar 2008
Location: Colorado SPrings
Posts: 16
Send a message via MSN to Ewok Send a message via Yahoo to Ewok
Default

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
Reply With Quote