acedrummond
Posts: 90
|
| Posted: 07/16/2010, 8:18 PM |
|
When I run a web report the date and time shown at the bottom is GMT vs. my local time zone which is GMT -7.
How do you get current local date/time onto a report?
Thanks/
_________________
Ace Drummond |
 |
 |
datadoit
|
| Posted: 07/17/2010, 5:33 AM |
|
What's your environment? Language, web server?
|
|
|
 |
acedrummond
Posts: 90
|
| Posted: 07/17/2010, 6:08 AM |
|
I am using Win 7 Home Premium, Apache 2.2.11, MySql 5.1.36 PHP 5.30
Thanks/
_________________
Ace Drummond |
 |
 |
datadoit
|
| Posted: 07/17/2010, 12:41 PM |
|
Look in your php.ini for the [Date] section, and set your timezone
there. Restart Apache when done.
|
|
|
 |
acedrummond
Posts: 90
|
| Posted: 07/17/2010, 2:31 PM |
|
Thanks, but no making any difference.
I changed date.timezone utc to
date.timezone america/denver
also tried date.timezone utc - 7 to no avail.
I did stop apache after I saved the ini and checked ot make sure it was down - any other ideas?
FUI any other date I use i.e. time() or timestamp is perfectly fine it is ijust the web reporting tool.
_________________
Ace Drummond |
 |
 |
acedrummond
Posts: 90
|
| Posted: 07/21/2010, 4:40 AM |
|
Problem solved.
The parameter in php.ini America/Denver needed t obe in double quotes i.e. 'America/Denver" and then it worked properly!
_________________
Ace Drummond |
 |
 |
mamboBROWN
Posts: 1713
|
| Posted: 08/15/2010, 7:49 AM |
|
acedrummond,
Could you please add [Resolved] or [Solved] to the thread title. Thanks.
|
 |
 |