thelordoftherings
Programmer
Hello,
How can I retrieve the date and time from the server?
How can I retrieve the date and time from the server?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<%
var a = new Date();
Response.Write("Current Date and Time is : " + a);
%>
But in javascript there is an option to run the script on the server side (runat="Server")