Gst.DateTime.new_from_iso8601_string

function new_from_iso8601_string(string:String):Gst.DateTime {
    // Gjs wrapper for gst_date_time_new_from_iso8601_string()
}

Tries to parse common variants of ISO-8601 datetime strings into a Gst.DateTime.

Free-function: gst_date_time_unref

string

ISO 8601-formatted datetime string.

Returns

a newly created Gst.DateTime, or NULL on error