Open microsoft visual studio and open design tab and double click in body section and copy following code
Response.Write("<h1>Server side date and time</h1>")
Response.Write("<br>Date=" & Date.Now.Date)
Response.Write("<br>Time=" & Now)
Response. Write("<br>Month Name=" & MonthName(Now.Month))
Response.Write("<br>Week day Name="&
WeekdayName(Now.DayOfWeek))
Response.Write("<in>Client side Date and Time</h1>")
Response.Write("<br>Date and Time=<script> var d;d=new
Date(); document.write(d); </script>")

Post a Comment

Previous Post Next Post