How to get the current date in VB.NET

To get the current date in VB.NET you should use DateTime.Now Property:

‘ Get the current date and time in VB.NET

Dim currentDate As DateTime = DateTime.Now