GLib.get_current_time
function get_current_time(result: GLib.TimeVal): void {
// Gjs wrapper for g_get_current_time()
}
Equivalent to the UNIX gettimeofday() function, but portable.
You may find GLib.get_real_time to be more convenient.
- result
GLib.TimeVal structure in which to store current time.