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 use ViewState in VB.NET How to transfer information between pages in ASP.NET using cross-page posting in VB.NET How to programmatically set the TextBox value and get the TextBox value in ASP.NET in VB.NET How to change the text of the Label control from the code-behind in VB.NET How to set focus on control in VB.NET