Skip to main content



Minute Function

The Minute function returns the minute of the hour for a given DateTime (0 to 59).

Syntax 1

Minute()

The Minute function returns the minute of the hour for a given DateTime (0 to 59).

Syntax 2

Minute(dateTime)

The Minute function returns the minute of the hour for a given DateTime (0 to 59).

Arguments

dateTime DateTime - A date-time.

Remarks

  • If a Date (not a DateTime) is passed, the function returns 0.

Example:

Minute("2005-1-28T22:10:45"); // returns 10