from_iso8601


Description:

public bool from_iso8601 (string iso_date)

Converts a string containing an ISO 8601 encoded date and time to a TimeVal 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.)

Parameters:

iso_date

an ISO 8601 encoded date string

time_

a TimeVal

Returns:

true if the conversion was successful.