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