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

Zend_Date::subDayOfYear ( day,
locale = null 

Subtracts a day of year from the existing date object. The day of year is always a number. Returned is the new date object Example: subDayOfYear(10); will subtract 10 days from the existing date object.

string | integer | array | Zend_Date$dayDay of Year to sub
string | Zend_Locale$localeOPTIONAL Locale for parsing input
Zend_Date new date

Definition at line 4070 of file Date.php.

References _calcvalue().

        return $this->_calcvalue('sub', $day, 'day of year', self::DAY_OF_YEAR, $locale);

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index