Gst.DateTime.new_from_unix_epoch_utc

function new_from_unix_epoch_utc(secs:Number):Gst.DateTime {
    // Gjs wrapper for gst_date_time_new_from_unix_epoch_utc()
}

Creates a new Gst.DateTime using the time since Jan 1, 1970 specified by secs. The Gst.DateTime is in the UTC timezone.

Free-function: gst_date_time_unref

secs

seconds from the Unix epoch

Returns

the newly created Gst.DateTime