Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0a4

Request #14606 Extand with getNextMonth and getPrevMonth method
Submitted: 2008-09-06 12:20 UTC
From: zerogiven Assigned:
Status: Open Package: Date (version 1.5.0a1)
PHP Version: 5.2.0 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2008-09-06 12:20 UTC] zerogiven (Christopher Söllinger)
Description: ------------ I would really prefer a method where you get back a date object for the last or the next month. I simply made that by copy the getNext and getPrevDate method and added or substract one month. I send you my tested code so you can just copy and paste it if you want :) Test script: --------------- Attachments Expected result: ---------------- get a DATE object with the next or the previous month from an existing DATE object Actual result: -------------- No method like this

Comments