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

Zend_Date::setArpa ( date,
locale = null 

Sets a RFC 822 date as new date for the date object. Only RFC 822 compilant date strings are accepted. For example: Sat, 14 Feb 09 00:31:30 +0100 Returned is the new date object

string | integer | Zend_Date$dateRFC 822 to set
string | Zend_Locale$localeOPTIONAL Locale for parsing input
integer|Zend_Date new date

Definition at line 3129 of file Date.php.

References _calcvalue().

        return $this->_calcvalue('set', $date, 'arpa', self::RFC_822, $locale);

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index