Dot Net Interview Questions and Tutorials
By Dr. Rajesh Rolen
Friday, October 23, 2009
Change Format of Date in VB.NET
Dim departDate As Date departDate = Date.Now Dim d As String = Format(departDate, "dd/MM/yyyy") MsgBox(d) 'Above Example shows how to convert date format according to our requirements.
No comments:
Post a Comment