Results 1 to 3 of 3

Thread: How to Adjust Timezone Setting in RSS Display Boxes?

  1. #1
    Join Date
    May 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to Adjust Timezone Setting in RSS Display Boxes?

    1) Script Title: RSS Display Boxes

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ybox/index.htm

    3) Describe problem: I'd like to learn how to adjust the time zone setting to EST. It's currently reporting my host's server time CMT. Can't seem to grasp the code on this one. Many thanks in advance.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    The date output is controlled by the SimplePie backend script used by the script. Try looking up the documentation concerning date output for it, though note that the version used by the script is older than that which is currently listed on the site.
    DD Admin

  3. #3
    Join Date
    Jun 2012
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Sorry to bring up an old post, but I had a similar problem with this script and found the fix. Newer versions of PHP will give you a timezone error.

    To fix, you just open up /rssbox/main.php and add the following line to the top:

    PHP Code:
    <?php
    date_default_timezone_set
    ('America/New_York');
    ?>
    If you need a list of Timezones in PHP, you can find it here.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •