I am developing an application, i need date and time of the user who is accessing(ie Client’s date time), how can i get it to server side……..?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can send the current time to server, everytime a client connects to the server. I am assuming you client is a web browser. In that case handle the document.onload event, and write a script that can send time to the server, each time the client loads a page.
If you have a different type of client, this would need to be handled differently.