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.)

class TimeVal
static
bool
fromIso8601
(
string isoDate
,)

Parameters

isoDate string

an ISO 8601 encoded date string

time TimeVal

a #GTimeVal

Return Value

Type: bool

%TRUE if the conversion was successful.

Meta

Since

2.12