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 set focus on control in VB.NET How to use session state in ASP.NET using VB.NET How to transfer information between pages in ASP.NET using cross-page posting in VB.NET How to store custom objects in a View state using VB.NET