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 Related TutorialsHow to set focus on control in VB.NET How to apply CSS style in the Label control from code-behind in ASP.NET in VB.NET How to change the text of the Label control from the code-behind in VB.NET How to preserve member variables for an ASP.NET page in VB.NET How to use ViewState in VB.NET