navigation
vb.net

How to convert date to string in vb.net?

| | ASP , ASP-NET

In this articles describes how to convert datetime to string vb.net. Here I am using Format Method to format or convert date to string.

Dim mDOB As String = Format(DateTimePicker1.Value.Date, "yyyy-MMM-dd")
For example, here I convert DateTimePicker1 value intostring.