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

When file included, REMOTE_ADDR is server's?
I have an index file that handles my site, basically index.php?page=ip will activate "require('

How to display random record from table?
I have the following code:

Code: <?php
$display_block .= "<input type=

Deleting Partners on the Customer Master.
Does SAP handle removing the Partner from Open Sales Orders when a Partner is deleted in the Custome

Supress some serveroutput but not all
Hi,

I have a script I'm working on that uses plsql to create and RMAN script, this uses d

How can I Compare two xml documents?
Hi all,

I am doing a POC for my project and I am using XE database 10g version.

styling a RadioButtonList
HiI need to have a radio button and close to it, its lable, then a space then another set of those.

array_map() probably obvious mistake
The code below is part of a class to escape strings, but should also accept an array, using array_ma

Do While statement
hi guys,

This may sound trivial but im new to php and as part of an assignmenti have to const

pull content
I have an existing page, domain/adverts.php which has a good PR. I've just rebuilt my site and the n

Using cURL to PUT
Can somebody help with the correct php code to make a cURL PUT request. Here is a sample of code bel

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