Time/Date Manipulation
This method explains how to manipulate the server generated Date(), Time() etc functions.
I found this useful since I have a UK site hosted in the US which resulted in all my date/times being incorrect due to the server being on US time.
The DateAdd function returns a date to which a specified time interval has been added. e.g.
<%US_Time = time()
UK_Time = DateAdd("h",6,US_Time)%>
<%=UK_Time%>
If you are interested you can find more examples of this function and DateDiff | DatePart functions here......
http://msdn.microsoft.com/scripting/default.htm?/scripting/vbscript/doc/vsfctDateAdd.htm
MaT
Comments
Be the first to write a comment
You must me logged in to write a comment.