ew_CurrentDate advance in 1 day?

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
pandapipino
User
Posts: 103

ew_CurrentDate advance in 1 day?

Post by pandapipino »

hi all my currentdate (ew_CurrenDate) are being displayed as advance in 1 day?

ex:

Today is 1-14-2014 but my system date will be displayed as 1-15-2014

Any help would be appreciated. Thanks


mobhar
User
Posts: 11745

Post by mobhar »

What is your Time Zone setting in your server?


pandapipino
User
Posts: 103

Post by pandapipino »

in my phpinfo: Canada/Pacific


pandapipino
User
Posts: 103

Post by pandapipino »

I guessed its fixed, i changed my timezone to my country. Thanks


rvanore
User
Posts: 39

Post by rvanore »

I have the correct time zone set but my ew_CurrentDate() is still showing tomorrow. Any help with this would be greatly appreciated.


danielc
User
Posts: 1601

Post by danielc »

If you setup your [Default time zone] correctly (click [Tools]->[Advanced Settings]->[Default time zone]), regenerate the script and the time will display correctly. Check ewcfg10.php to find out what $DEFAULT_TIME_ZONE has been set up.

If you use Multi-Language, check the following in your language file:

<phrase id="time_zone" value="xxx"/><!-- *** used for multi-language site only *** -->


Post Reply