# minuteOfHour {#minuteofhour}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`minuteOfHour(X)`

## Arguments {#arguments}

**X** is a scalar/vector of type TIME, MINUTE, SECOND, DATETIME, TIMESTAMP, NANOTIME or NANOTIMESTAMP.

## Details {#details}

For each element in *X*, return a number from 0 to 59 indicating which minute of the hour it falls in.

## Examples {#examples}

```
minuteOfHour(12:32:00);
// output: 32

 minuteOfHour([2012.06.12T12:30:00,2012.10.28T12:35:00,2013.01.06T12:36:47,2013.04.06T08:02:14]);
// output: [30,35,36,2]
```

Related functions: [dayOfYear](../d/dayOfYear.md), [dayOfMonth](../d/dayOfMonth.md), [quarterOfYear](../q/quarterOfYear.md), [monthOfYear](monthOfYear.md), [weekOfYear](../w/weekOfYear.md), [hourOfDay](../h/hourOfDay.md), [secondOfMinute](../s/secondOfMinute.md), [millisecond](millisecond.md), [microsecond](microsecond.md), [nanosecond](../n/nanosecond.md)

