Showing category "vb.net" (Show all posts)

How to convert a Date to a formatted string in VB.net?

Posted by jineesh uvantavida on Friday, November 10, 2017, In : vb.net 
Dim timeFormat As String = "yyyy-MM-dd HH:mm:ss"
objBL.date = Convert.ToDateTime(txtDate.Value).ToString(timeFormat)

This can be used globally to convert so many date field in a form.


Continue reading ...
 
 

Translate This Page

 


Make a free website with Yola