August 2001
Intermediate to advanced
656 pages
18h 5m
English
Minute Function
Microsoft.VisualBasic.DateAndTime
Minute(TimeValue)TimeValue
Use: Required
Data Type: Date
Date variable or literal date
An Integer between 0 and 59, representing the minute of the hour
Extracts the minute component from a given date/time expression
If TimeValue is not a valid date/time
expression, the function generates runtime error 13, “Type
mismatch.” To prevent this, use the IsDate
function to check the argument before calling the
Minute function.
If TimeValue contains
Nothing, 0 is returned, so be careful here to
check for Nothing.
You can also use the DatePart function.
Read now
Unlock full access