GLib.DateTime.new_now_utc
function new_now_utc(): GLib.DateTime {
// Gjs wrapper for g_date_time_new_now_utc()
}
Creates a GLib.DateTime corresponding to this exact instant in UTC.
This is equivalent to calling GLib.DateTime.new_now with the time zone returned by GLib.TimeZone.new_utc.
Since 2.26
- Returns
a new GLib.DateTime, or null