Name

DateString Property — Microsoft.VisualBasic.DateAndTime

Synopsis

DateString(  )

Return Value

A String representing the current system date in the format “mm-dd- yyyy”

Description

Returns or sets a string representing the current system date. The allowed formats for setting the date are “m-d-yyyy,” “m-d-y,” “m/d/yyyy,” and “m/d/y.”

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.