Hi all
I have the following query:
$query1 = "INSERT INTO whoisonline VALUES (NULL,'$memberid', FROM_UNIXTIME('$lastlogin'), '$loggedfromip')";
This query works like a charm, however, I have the following problem.
The time inserted is local time on server which beloing to time zone ‘America/Denver’
I would like the time inserted to be ‘Europe/Athens’ time zone. I try with:
date_default_timezone_set('Europe/Athens');
without any success however. Any help will be deeply appreciated.
Regards, Zoreli