Click here to Skip to main content
15,881,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have 4-5 clients machines and one server. I want the server's date and time but not the clients date and time. If i need the clients date and time i could have used DateTime.Now in c# and var date= new Date() in jQuery. But I dont want this. I want the server's date and time it may be using jQuery or webservices or mvc.
Posted
Comments
Satya Ranjan Sahoo 28-Oct-14 1:38am    
Javascript don't know anything about the server.So, do a separate ajax call to get the server date and time.
Rachel Govind 28-Oct-14 1:50am    
Thanks alot..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900