• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Opening Page at specific date/time

Explorer ,
Mar 31, 2009 Mar 31, 2009

Copy link to clipboard

Copied

I am trying to forbid access to a page on our website until a certain date/time which is easy enough to do but it has to be a certain date/time EST (or DST as we are now in) and the server is in PST. Basically if someone is in Iowa, we want them to be able to get into the page at 10am EST even though it is only 9am there... Is this possible??
TOPICS
Advanced techniques

Views

315

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 31, 2009 Mar 31, 2009

Copy link to clipboard

Copied

The simplest way is to add 3 hours to your server time.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 31, 2009 Mar 31, 2009

Copy link to clipboard

Copied

LATEST
hml398 wrote:
> we want them to be able to get into the page at 10am EST even though it is only
> 9am there... Is this possible??

if it's a one off just check the time minus the timezone (tz) offset. assuming
that the server's following DST (and i would imagine it is) you should be good
to go.

if you need to handle this for more complex situations (ie many tz, more often)
you might look at the tz CFC:

http://www.sustainablegis.com/projects/tz/testTZCFC.cfm

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation