Moodle PHP Documentation 4.1
Moodle 4.1.11 (Build: 20240610) (c8c84b4af18)
PhpXmlRpc\Helper\Date Class Reference

Static Public Member Functions

static iso8601Decode ($idate, $utc=0)
 Given an ISO8601 date string, return a timet in the localtime, or UTC.
 
static iso8601Encode ($timet, $utc=0)
 

Member Function Documentation

◆ iso8601Decode()

static PhpXmlRpc\Helper\Date::iso8601Decode ( $idate,
$utc = 0 )
static

Given an ISO8601 date string, return a timet in the localtime, or UTC.

Parameters
string$idate
int$utceither 0 or 1
Return values
int(datetime)

The documentation for this class was generated from the following file: