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