c# .net Adsense ADO.NET Linq Viruses/security asp.net MVC JQuery Angular-js Node-js SEO Java C++ SQL API Networking vb.net .Net Css JavaScript Generics c#.Net entity framework HTML Website host Website Construction Guide HTTP tutorial W3C tutorial Web Services JSON Psychology Ionic framework Angular ReactJS Python Computer Android
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.