GLib.DateTime.new_utc
function new_utc(year: Number(gint), month: Number(gint), day: Number(gint), hour: Number(gint), minute: Number(gint), seconds: Number(gdouble)): GLib.DateTime {
// Gjs wrapper for g_date_time_new_utc()
}
Creates a new GLib.DateTime corresponding to the given date and time in UTC.
This call is equivalent to calling GLib.DateTime.new with the time zone returned by GLib.TimeZone.new_utc.
Since 2.26
- year
the year component of the date
- month
the month component of the date
- day
the day component of the date
- hour
the hour component of the date
- minute
the minute component of the date
- seconds
the number of seconds past the minute
- Returns
a GLib.DateTime, or null