CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Web Report Feauture - Report Date - [RESOLVED}

Print topic Send  topic

Author Message
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
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 08/15/2010, 7:49 AM

acedrummond,
Could you please add [Resolved] or [Solved] to the thread title. Thanks.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.