Menu
Afternoon all 🙂
I’ve built a function that records what is downloaded, and by who’m on my website. The last thing that is left is to record the date.
I have it recording fine & I calculate the date using
[code=php]
$date = date(“Y-m-d G:i:s”);
however, the time returned is 1hour ahead of me (assuming thats because of the locality settings on my service provider) How can I adjust the value returned by
[code=php]
$date = date(“Y-m-d G:i:s”);
To take this into account or alternatively amend it after its returned and just before i submit it to the database?
Many thanks in advance.
Leigh