GLib.DateTime.prototype.get_second

function get_second(): Number(gint) {
    // Gjs wrapper for g_date_time_get_second()
}
  

Retrieves the second of the minute represented by datetime

Since 2.26

Returns

the second represented by datetime