Hello,
I've got a page that I'm trying to print out the current Pacific time on but I've run into problems because my server is based in england and is 8 hours off. Does anyone know if there is anything I could do to my code to make it adjust to -8 hours of what the server's time is?
<%response.Write WeekdayName(weekday(date), true) & " " & MonthName(Month(date), true) & " " & day(date()) &" "& Hour (Now) & ":" & Minute (Now) & ":" & Right (Time, 2)&" "& Year(Date())%>
It seems like I might run into problems because after 4PM pacific time, it will be the next day on the server.
Thanks for your help,
Spencer
I've got a page that I'm trying to print out the current Pacific time on but I've run into problems because my server is based in england and is 8 hours off. Does anyone know if there is anything I could do to my code to make it adjust to -8 hours of what the server's time is?
<%response.Write WeekdayName(weekday(date), true) & " " & MonthName(Month(date), true) & " " & day(date()) &" "& Hour (Now) & ":" & Minute (Now) & ":" & Right (Time, 2)&" "& Year(Date())%>
It seems like I might run into problems because after 4PM pacific time, it will be the next day on the server.
Thanks for your help,
Spencer