Name

Now Property — Microsoft.VisualBasic.DateAndTime

Synopsis

Now(  )

Return Value

A Date containing the current system date and time

Description

Returns the current date and time based on the system setting. The date returned by Now takes the Windows General Date format based on the locale settings of the local computer. The U.S. setting for General Date is mm/dd/yy hh:mm:ss. The Now property is read-only.

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.