Logo Search packages:      
Sourcecode: zendframework version File versions  Download package

Zend_Date::addDay ( day,
locale = null 

Adds days to the existing date object. The day can be a number or a string. Adding days lower then 0 or greater than the number of this months days will result in adding or subtracting the relevant month. If a localized dayname is given it will be parsed with the default locale or the optional set locale.

string | integer | array | Zend_Date$monthDay to add
string | Zend_Locale$localeOPTIONAL Locale for parsing input
Zend_Date new date

Definition at line 3826 of file Date.php.

References _day().

        return $this->_day('add', $day, $locale);

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index