IXR_Date::parseTimestamp()publicWP 1.0

Method of the class: IXR_Date{}

No Hooks.

Return

null. Nothing (null).

Usage

$IXR_Date = new IXR_Date();
$IXR_Date->parseTimestamp( $timestamp );
$timestamp (required)
-

IXR_Date::parseTimestamp() code WP 6.5.2

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 = '';
}