I have a website that does some things based on the time of
day. My problem is that my site is meant to be viewed in the
Eastern time zone and the hosting company I used has their servers
in the Central time zone. Is there a way to easily adjust this
without rewriting all of my code that uses Now()?|||
Use the DateAdd function to convert Central time to Eastern.
You can probably do a global search and replace on Now().

<CFSET eastTime = DateAdd(“h”, 1, Now())>|||
jdeline wrote:

> Use the DateAdd function to convert Central time to
Eastern. You can probably do a global search and replace on Now().

> <CFSET eastTime = DateAdd(“h”, 1, Now())>

uh what about DST?

Related posts:

  1. Find out client machine TimeZone in specific format using Flex Date
  2. live colour takes away “global” setting in colour group. ?
  3. Flex Mobile Application and getting timezone
  4. No access to Global Setting Panel
  5. No access to Global Setting Panel

Related posts brought to you by Yet Another Related Posts Plugin.

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

   
© 2012 free icons download Suffusion theme by Sayontan Sinha

Featuring Recent Posts WordPress Widget development by YD