Time() (Adding hours)

Results 1 to 2 of 2

Thread: Time() (Adding hours)

  1. #1
    Join Date
    Dec 1969

    Default Time() (Adding hours)

    Hi,<BR><BR>I need to display the time on my website. It displays the server time which is based in another country. I need to add 3 hours to show the current time in my own country.<BR><BR>I want to use the Time() function as I want it to be dispalyed in that format. How can I add 3 to the hours particle?<BR><BR>Thanks in advance.

  2. #2
    Rhino Guest

    Default Use DateAdd

    Like this:<BR>Response.Write "At the 3rd stroke, the time will be ..." & DateAdd(&#039;h&#039;,3,Time())

Posting Permissions

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