Name
Minute Function — Microsoft.VisualBasic.DateAndTime
Synopsis
Minute(TimeValue
)
TimeValue
required; DateDate variable or literal date
Return Value
An Integer between 0 and 59, representing the minute of the hour
Description
Extracts the minute component from a given date/time expression
If TimeValue
is not a valid date/time
expression, the function generates an exception. 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
.
Get VB.NET Language Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.