Hide content after 9AM in different time zones - VBScript
Posted on 2014-03-20
I would like to hide some content on my web page after 9AM. This is how I'm doing it now:
<%If FormatDateTime(Time, vbShortTime) < "09:00" Then %>
DON’T SHOW CONTENT
The problem is that there are cities that are not in my time zone, and I'd like to hide the content when it's 9AM where they are. My city is ORD which is in central time. The other cities are EWR + 1hour, DEN -1hour, SFO -2hours. How could I hide the content at 9AM in each city?
Thank you for your help.