Moodle PHP Documentation 4.1
Moodle 4.1.19+ (Build: 20250711) (5f47dc23ffc)
|
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) |