Default TimeZone


Posted on 16th Feb 2014 07:03 pm by admin

The server I'm working with is hosted in America so all times inserted into the database are coming out 5 hours differen't to what I want them to. I attempted placing the following in my Header file...

Code: [Select]date_default_timezone_set('Europe/London');
But it doesn't seem to have worked, am I missing something?

No comments posted yet

Your Answer:

Login to answer
163 Like 6 Dislike
Previous forums Next forums
Other forums

Comparing Values
Hi
I'm reading data from a database and this seems to work OK.

Each system has an associat

How to return to a previous page after running a PHP script
I'm having a bit of a melt down here because I think this should be really easy but can't work it ou

Session is not saving
I am not trying to do anything too fancy, I am just trying to get some $_SESSION data to save and us

filesize() returns 0
I have a socket program that runs in an infinite loop, listening for connections, in this socket I h

Code working in IE but not FireFox
I created a dynamic navigation list for my website based off of a table in my database. The code is

Save file by click
Hello.
I'm not understand how to save file from page. I'd like make link to file with save abil

Using real time in php
I'm very average at PHP and im looking to introduce time to something on my site.
Its a sports si

Delete all from a table
I can not get the following code to work. If I run the sql statement in the db it will delete all t

Need Help with a query
Hello,
For some reason I am just not getting the right answer when I do this query and not quite

Checking if variable is 0 as opposed to NULL/Empty...
I'm trying to write some code that will retrieve a user's access level from my database and if it do

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash