Obtaining the client time.

Results 1 to 2 of 2

Thread: Obtaining the client time.

  1. #1
    Join Date
    Dec 1969

    Default Obtaining the client time.

    Is there a way in asp to get the time from the client. and display it in the page?<BR>Thanks for any help.

  2. #2
    Mike Shaffer Guest

    Default RE: Obtaining the client time.

    Hi Dan,<BR><BR>If you want to &#039;receive&#039; the client&#039;s date/time and process it on the server-side, then it will have to be passed to your script as part of a querystring or a FORM post/get (using the functions below). If, however, you simply want to display the client side date/time as part of the page, you can do it quite easily using Javascript. I would suggest that you look into these JavaScript functions:<BR><BR>getMonth()<BR>getDate()<BR>getYe ar()<BR>getHours()<BR>getMinutes()<BR>getSeconds() <BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts