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');
Did you know?Explore Trending and Topic pages for more stories like this.
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

session variables not working anymore
hello,
i use sessions to handle authentication within my site. my host has been changing a lot of

I need some help with the IF command...
I have a large number of images in one section of my website with the .jpg format. I'm adding a bun

Links not updating
I'm trying to fuel a simple navigation system for a news section. It works fine when it comes to ret

Parse String
I need to parse the string below into three variables. How would I do that?

john + 10/20/2008

EU VAT Package 2010
Does any one know whether SAP will be developing new reporting functionality due the new VAT rules t

Preg_match question
I want to use preg_match to make sure a string is always 6 characters long and only contains 0-9 and

sapgui f4 help last search
I know this has to be simople. One user (maybe more) does not have the "last search saved" from the

Echo-ing MySQL content and Keep Formatting?
I have data in my MySQL such as:

QuoteBlah blah

Blah blah

etc
but when i ech

MySQL Does not UPDATE- SQLString Problem
vb Syntax (Toggle Plain Text) 1. SQL = "UPDATE sampletable SET column1 = 'C1sample1'"

Querying info from one table based on info in another
Hi, I am currently trying to make a part for my user driven website where one user can subscribe to

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