SQL
MySQL HOUR() Function
Return the hour part of a datetime: