IXR_Date::parseTimestamp
Method of the class: IXR_Date{}
No Hooks.
Returns
null. Nothing (null).
Usage
$IXR_Date = new IXR_Date(); $IXR_Date->parseTimestamp( $timestamp );
- $timestamp(required)
- .
IXR_Date::parseTimestamp() IXR Date::parseTimestamp code WP 7.0
function parseTimestamp($timestamp)
{
$this->year = gmdate('Y', $timestamp);
$this->month = gmdate('m', $timestamp);
$this->day = gmdate('d', $timestamp);
$this->hour = gmdate('H', $timestamp);
$this->minute = gmdate('i', $timestamp);
$this->second = gmdate('s', $timestamp);
$this->timezone = '';
}