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 programmatically set the TextBox value and get the TextBox value in ASP.NET 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 transfer information between pages in ASP.NET using cross-page posting in VB.NET How to use ViewState in VB.NET