Added functions get_hours, get_minutes and get_seconds