GLib.TimeZone.new_utc

function new_utc(): GLib.TimeZone {
    // Gjs wrapper for g_time_zone_new_utc()
}
  

Creates a GLib.TimeZone corresponding to UTC.

This is equivalent to calling GLib.TimeZone.new with a value like "Z", "UTC", "+00", etc.

You should release the return value by calling GLib.TimeZone.prototype.unref when you are done with it.

Since 2.26

Returns

the universal timezone