Gst.DateTime.prototype.get_hour

function get_hour():Number {
    // Gjs wrapper for gst_date_time_get_hour()
}

Retrieves the hour of the day represented by datetime in the gregorian calendar. The return is in the range of 0 to 23. Call gst_date_time_has_haur before, to avoid warnings.

Returns

the hour of the day