O'Reilly logo

VB.NET Language in a Nutshell, Second Edition by Steven Roman PhD, Paul Lomax, Ron Petrusha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

Second Function

Class

Microsoft.VisualBasic.DateAndTime

Syntax

Second(timevalue)
timevalue (required; 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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required