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