IXR_Date::parseTimestamp() WordPress Method
The IXR_Date::parseTimestamp() method is used to parse a timestamp into an IXR_Date object.
IXR_Date::parseTimestamp( $timestamp ) #
Source
File: wp-includes/IXR/class-IXR-date.php
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 = '';
}
Expand full source codeCollapse full source codeView on TracView on GitHub