CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Trouble Setting the Timezone
Pages: [1]

Author Topic: Trouble Setting the Timezone  (Read 835 times)

ThomasTheSlug

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.5.8
  • CMS version: Drupal 7
  • MySQL version: 5.5.40-36.1-log - Percona
  • PHP version: 5.3.29
Trouble Setting the Timezone
March 25, 2015, 03:19:15 pm
The timezone on my civi install is seven hours ahead of me. I've tried setting the server timezone to US/Los_Angeles in the .htaccess file and when I go to my phpinfo.php, it displays that as the date, but civi still thinks that it's seven hours later than where I am. What am I doing wrong?

Kevin Cristiano

  • I’m new here
  • *
  • Posts: 22
  • Karma: 0
  • CiviCRM version: 4.x
  • CMS version: WordPress
  • MySQL version: 5.6
  • PHP version: 5.6
Re: Trouble Setting the Timezone
March 25, 2015, 04:55:35 pm
Hi,

First thing I would verify is the WordPress Time Zone Setting.   Go to the WP admin, under Settinngs -> General you will see Timezone.   Set that to America\Los_Angeles (type Los Angeles and it should come up) save and that should work things out for you.

ThomasTheSlug

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.5.8
  • CMS version: Drupal 7
  • MySQL version: 5.5.40-36.1-log - Percona
  • PHP version: 5.3.29
Re: Trouble Setting the Timezone
March 25, 2015, 05:17:18 pm
Thanks! I had set the timezone using -7 UTC and it had no effect. I'll make a note to use "Los Angeles" from now on

Kevin Cristiano

  • I’m new here
  • *
  • Posts: 22
  • Karma: 0
  • CiviCRM version: 4.x
  • CMS version: WordPress
  • MySQL version: 5.6
  • PHP version: 5.6
Re: Trouble Setting the Timezone
March 25, 2015, 05:43:37 pm
This time of year (DST in US and not in Europe) UTC offsets fail.

I find that setting the timezone to the php region (America/New_York etc) works for me.   Glad it worked.

alastairbrian

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
    • PrestaShop plugin and modules
  • CiviCRM version: 1.0
  • CMS version: 2.0
  • MySQL version: 2.1
  • PHP version: 5.1
Re: Trouble Setting the Timezone
April 01, 2015, 11:50:24 pm
Thanks for providing your working solution, It might help me as I am going to try civicrm for WordPress.
PrestaShop Plugins

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Trouble Setting the Timezone

This forum was archived on 2017-11-26.