Name
Second Function
Class
Microsoft.VisualBasic.DateAndTime
Syntax
Second(timevalue
)
-
timevalue
Use: Required
Data Type: Date
Date variable or literal date
Return Value
An Integer in the range 0 to 59, specifying the second in
timevalue
Description
Extracts the seconds from a given time expression
Rules at a Glance
If the time expression time is Nothing
, the
Second
function returns 0.
See Also
Get VB .NET Language in a Nutshell 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.