Forum Moderators: open

Message Too Old, No Replies

Server Time to Real Time?

         

rotfil

11:22 am on Nov 2, 2006 (gmt 0)

10+ Year Member




How do you put the time forward by 5 hours?

Server Time is <%Response.Write Time()%> or <%=TIME()%>

I have tried to edit the hours by going <%Response.Write Time()+5%> but that doesn't work, is there just a simple way to do this.

I will keep working on this but am interested to see if anyone has any suggestions.. Is there a site that you can just use easily to copy rather than adjusting it.. GMT time that would be nice

Thanks
James

rotfil

12:09 pm on Nov 2, 2006 (gmt 0)

10+ Year Member



<%=DateAdd("h", +5, Now())%>