Click here to Skip to main content
15,073,511 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
good evening to every one i am using a datetimepicker in one of my page when i click the textbox the datetimepicker show only the local machine date and and time but i need server date and time in that place please help me how can i get it

thanks in advance

1 solution

You are getting the local date/time because JQuery is a JavaScript library which runs on the client. I don't know of any method to use to get the server date/time by using JQuery UI date picker.

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