vb.net

How to convert date to string in vb.net?

How to convert date to string in vb.net?, someone asked me to explain?

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.

Post your comments / questions