Moodle PHP Documentation 4.1
Moodle 4.1.19+ (Build: 20250613) (4f61b2974b9)
|
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) |
|
static |
Given an ISO8601 date string, return a timet in the localtime, or UTC.
string | $idate | |
int | $utc | either 0 or 1 |
int | (datetime) |