IXR_Date::parseIso()publicWP 1.0

Method of the class: IXR_Date{}

No Hooks.

Return

null. Nothing (null).

Usage

$IXR_Date = new IXR_Date();
$IXR_Date->parseIso( $iso );
$iso (required)
-

IXR_Date::parseIso() code WP 6.6

function parseIso($iso)
{
    $this->year = substr($iso, 0, 4);
    $this->month = substr($iso, 4, 2);
    $this->day = substr($iso, 6, 2);
    $this->hour = substr($iso, 9, 2);
    $this->minute = substr($iso, 12, 2);
    $this->second = substr($iso, 15, 2);
    $this->timezone = substr($iso, 17);
}