Search This Blog

Friday, March 21, 2014

DateValue Visual Basic Example

VB.NET Functions > DateValue 

Returns a date value containing the date information represented by a string.

Example

Dim dt As Date
dt = DateValue("March 21, 2014")

MessageBox.Show(dt)