TimeVal.fromIso8601

Converts a string containing an ISO 8601 encoded date and time to a GTimeVal and puts it into time_. iso_date must include year, month, day, hours, minutes, and seconds. It can optionally include fractions of a second and a time zone indicator. (In the absence of any time zone indication, the timestamp is assumed to be in local time.) Since 2.12

class TimeVal
static
int
fromIso8601
(
string isoDate
,)

Parameters

isoDate string

an ISO 8601 encoded date string

time GTimeVal

a GTimeVal. out

Return Value

Type: int

TRUE if the conversion was successful.

Meta