Skip to content

Minute - Built-in Date & Time Function

Purpose

Minute returns the minute from a datetime expression.

Syntax

Minute(datetime)

Arguments

Argument Required Description
datetime Yes Any valid datetime expression from which the minute will be returned

Returns

Integer

See also

Example

Dim dtSys

Let dtSys = Now()

Return Minute(dtSys) // returns the minute of the current time

Notes

  • When date cannot be converted to a datetime value, a runtime error is generated.
  • When date is passed as a string, your PC's regional settings are used for the conversion to datetime. If that fails, you get a runtime error.