This topic is locked

trouble with dates

3/23/2006 7:01:11 AM
PHPRunner General questions
S
steveb author

I am having trouble formating a field as a date, No matter which of the date choices I use on the view or edit formaing tab I get this eeror
localtime() [function.localtime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. We selected 'America/New_York' for '-5.0/no DST' instead
Thanks
Steve

Sergey Kornilov admin 3/24/2006

Steve,
you can change php.ini file.
Uncomment ;date.timezone =

and change it to

[b]date.timezone = "America/New_York" [/n] or whatever your timezone is.
The full list of supported timezones can be found here

http://www.php.net/manual/en/timezones.php

H
hplacide 4/4/2006

Steve,

you can change php.ini file.
Uncomment ;date.timezone =

and change it to

[b]date.timezone = "America/New_York" [/n] or whatever your timezone is.
The full list of supported timezones can be found here

http://www.php.net/manual/en/timezones.php


Hello, i'm using the 3.0 version, since i look thru this, i still have the same problem with the date, on php 5.0

do i need to upgrade to 5.1.X
any help please

Sergey Kornilov admin 4/5/2006

Harry,
please show me the exact error message.

PHPRunner works fine with PHP 5.0, there is no need to upgrade.