Gst.DateTime.prototype.to_g_date_time

function to_g_date_time():GLib.DateTime {
    // Gjs wrapper for gst_date_time_to_g_date_time()
}

Creates a new GLib.DateTime from a fully defined Gst.DateTime object.

Free-function: g_date_time_unref

Returns

a newly created GLib.DateTime, or NULL on error