Reply To: FireStats – Top 40 php script (now with added charts)

#14800
sonichouse
Participant

@Iris wrote:

@sonichouse wrote:

wierd 🙂

try

 $ sqlite
SQLite version 2.8.16
Enter ".help" for instructions
sqlite> select datetime('now', 'localtime');
2007-12-16 21:38:22
sqlite> .quit

Steve,

What can be done in the php code to simply manually correct for the time issue I’m having. I’m -6 hours UTC.

At least until I get things sorted out – this is a weird one. 😕

Iris

Hi Iris,

you could let the php server know your time zone information.

in php.ini try setting date.timezone to America/Chicago or wherever you need.

/Steve