468,483 Members | 2,710 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,483 developers. It's quick & easy.

How to Get Date of client Machine not of Server

I am working on a web site which required date to be pick as per the date time format and date of the client side. not from the date where server is present. as i am new in this i do not have any idea to get the date from client side, or the place where the site is being opened.... Please tell me the way through which i can get the client side date


Thanks in advance

Regards
Rohit
Sep 10 '10 #1
2 2450
gits
5,390 Expert Mod 4TB
i would suggest to use a simple JavaScript function that adds the client's local date to your requests so that you could know it everytime you receive a request ... to get the date clientside you could simply use the JavaScript Date object - https://developer.mozilla.org/en/Jav...l_objects/date
Sep 12 '10 #2
Thanks For your Suggestion i'll use this in my project


Thanks
Sep 13 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by ian maclure | last post: by
15 posts views Thread by Michael Rybak | last post: by
4 posts views Thread by Michael | last post: by
5 posts views Thread by Paul Bromley | last post: by
7 posts views Thread by rob | last post: by
14 posts views Thread by Ankit Aneja | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by kmladenovski | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.