Now Property


Now Property

Class

Microsoft.VisualBasic.DateAndTime

Syntax

     Dim result As Date = Now 

Description

The Now property returns the current system date and time.

Usage at a Glance

  • The Now property is read-only.

  • The Now property is a wrapper for the Date data type's Now shared property. As a result, calls to the Date.Now property may offer a slight performance improvement over calls to the DateAndTime.Now property.

See Also

Today Property




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net