Developer Documentation Library > Scripting > UNICOM Intelligence Function Library > Date and time functions > Minute
 
Minute
Returns a whole number between 0 and 59, inclusive, representing the minute of the hour.
Syntax
Minute(Val)
Parameters
Val
Type: Date
The date for which you want to return the minute.
(return)
Type: Long
The minute of the hour (0 to 59).
Remarks
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