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

Zend_Date::setDayOfYear ( day,
locale = null 

Sets a new day of year The day of year is always a number. Returned is the new date object Example: 04.May.2004 -> setDayOfYear(10) -> 10.Jan.2004

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

Definition at line 4036 of file Date.php.

References _calcvalue().

        return $this->_calcvalue('set', $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