Developer Documentation Library > UNICOM Intelligence Function Library > Date and time functions > Minute
 
Minute
Returns a whole number between 0 and 59 representing the minute of the hour.
Syntax
Minute(<value>)
Parameters
<value>
Type: Date
The date for which you want to return the minute.
(return)
Type: Long
The minute of the hour (0 to 59).
Notes
This is equivalent to DatePart("n", Val).
Example
This example returns the minute of the current system time, which is returned using the TimeNow function.
Minute(TimeNow())
See also
DateAdd
Date and time functions