Title: [Plugin: Events Calendar] Wrong current date
Last modified: August 20, 2016

---

# [Plugin: Events Calendar] Wrong current date

 *  [Vix332](https://wordpress.org/support/users/vix332/)
 * (@vix332)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-events-calendar-wrong-current-date/)
 * Hi,
    The events calendar is displaying to wrong current date? I have checked 
   the date and time in WP and it is now correct but the calendar is still displaying
   the day before (I am utc +10) Thanks Vix
 * [http://wordpress.org/extend/plugins/events-calendar/](http://wordpress.org/extend/plugins/events-calendar/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [babyoth](https://wordpress.org/support/users/babyoth/)
 * (@babyoth)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-events-calendar-wrong-current-date/#post-2999983)
 * Hello
 * I’m having the same issue but in UTC +12 (NZ)
 * Anyone know how to fix this issue?
 *  Thread Starter [Vix332](https://wordpress.org/support/users/vix332/)
 * (@vix332)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-events-calendar-wrong-current-date/#post-2999984)
 * Hi,
    This worked for me [http://wordpress.org/support/topic/plugin-events-calendar-recognise-my-time-zone](http://wordpress.org/support/topic/plugin-events-calendar-recognise-my-time-zone)
   right down the bottom and for me in Sydney this is what it looks like date_default_timezone_set(‘
   Australia/Sydney’); Hope thast helps Vix
 *  [babyoth](https://wordpress.org/support/users/babyoth/)
 * (@babyoth)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-events-calendar-wrong-current-date/#post-2999985)
 * ok thanks where did u put your line i tried right at the top after <?php and 
   before first comment and it didn’t work
 *  Thread Starter [Vix332](https://wordpress.org/support/users/vix332/)
 * (@vix332)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-events-calendar-wrong-current-date/#post-2999986)
 * Make sure you are using the right file
    events-calendar/ec_calendar.class.php
   This is what mine looks like
 * <?php
    date_default_timezone_set(‘Australia/Sydney’); /** * This file contains
   WP Events Calendar plugin. * * This is the main WPEC file. * [@internal](https://wordpress.org/support/users/internal/)
   Complete the description. * * [@package](https://wordpress.org/support/users/package/)
   WP-Events-Calendar * [@since](https://wordpress.org/support/users/since/) 1.0**
   @autbor Luke Howell <luke@wp-eventscalendar.com> * * [@copyright](https://wordpress.org/support/users/copyright/)
   Copyright (c) 2007-2009 Luke Howell * * [@license](https://wordpress.org/support/users/license/)
   GPLv3 {@link [http://www.gnu.org/licenses/gpl](http://www.gnu.org/licenses/gpl)}*
   @filesource */ /*
 * Vix
 *  [babyoth](https://wordpress.org/support/users/babyoth/)
 * (@babyoth)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-events-calendar-wrong-current-date/#post-2999987)
 * oh ok i have it in the right place and it’s New Zealand/Auckland sorted thanks
 *  Thread Starter [Vix332](https://wordpress.org/support/users/vix332/)
 * (@vix332)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-events-calendar-wrong-current-date/#post-2999988)
 * I Think you will find it is Pacific/Auckland
    [http://ch2.php.net/manual/en/timezones.pacific.php](http://ch2.php.net/manual/en/timezones.pacific.php)
   Vix

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin: Events Calendar] Wrong current date’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/events-calendar.svg)
 * [Events Calendar](https://wordpress.org/plugins/events-calendar/)
 * [Support Threads](https://wordpress.org/support/plugin/events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-calendar/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Vix332](https://wordpress.org/support/users/vix332/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-events-calendar-wrong-current-date/#post-2999988)
 * Status: not resolved