C
|
cgphp 1/30/2013 |
$offset = get_timezone_offset('Europe/London');
|
H
|
herb200mph author 1/30/2013 |
Thanks. <b class=redtext>DO NOT SUBMIT THE APPLICATION WITHOUT THE NECESSARY ATTACHMENTS!</b> |
C
|
cgphp 1/30/2013 |
global $dal; |
H
|
herb200mph author 1/30/2013 |
Thanks for the code change. |
C
|
cgphp 1/30/2013 |
What is the version of PHP you are using? |
H
|
herb200mph author 1/30/2013 |
What is the version of PHP you are using?
|
C
|
cgphp 1/30/2013 |
Check this version: global $dal; |
H
|
herb200mph author 1/30/2013 |
That did not work either. |
C
|
cgphp 1/30/2013 |
Just tested my code on the Xlinesoft server and works fine: $d = new DateTime();
|
H
|
herb200mph author 1/30/2013 |
That code was supplied by PHPR and it is working OK. |
H
|
herb200mph author 1/30/2013 |
NOPE. Shooting USA/Eastern again. |
H
|
herb200mph author 1/30/2013 |
What should the field properties be? |
C
|
cgphp 1/30/2013 |
Check if the date was saved correctly to the database. |
H
|
herb200mph author 1/30/2013 |
Data field in the database is showing the time as USA/Eastern with the code you provided. |
C
|
cgphp 1/30/2013 |
Are you from UK or from USA? Try to run the following code as a standalone script on your localhost: $d = new DateTime(); |
H
|
herb200mph author 1/30/2013 |
Cristian: |
H
|
herb200mph author 1/30/2013 |
Worked just fine, display as "2013-01-30 22:51:49" in a PHP file on the same server in the same directory as the project. |
H
|
herb200mph author 1/30/2013 |
PHPR Support offered up this: |
H
|
herb200mph author 1/30/2013 |
Off to dinner with spouse. |
H
|
herb200mph author 1/31/2013 |
Cristian: |
C
|
cgphp 1/31/2013 |
Thanks. |
H
|
herb200mph author 1/31/2013 |
Three questions: |