GLib.DateTime.prototype.get_seconds

function get_seconds(): Number(gdouble) {
    // Gjs wrapper for g_date_time_get_seconds()
}
  

Retrieves the number of seconds since the start of the last minute, including the fractional part.

Since 2.26

Returns

the number of seconds