What is the equivalent of date() and time() in ASP.NET

Platform: ASP.NET|Category: Basic

VB.NET

System.DateTime.Now.ToShortDateString()
System.DateTime.Now.ToShortTimeString()

C#

System.DateTime.Now.ToShortDateString();
System.DateTime.Now.ToShortTimeString();