IMP timezone
Klemen Humerca
klemen at humerca.com
Fri Mar 21 14:50:51 CET 2003
Imam sledec problem. Ce na strezniku v konzoli vpisem "date", dobim tale izpis:
Fri Mar 21 12:46:30 GMT+1 2003
Ko uporabim php funkcijo "date('r')", dobim tale izpis:
Fri, 21 Mar 2003 12:46:30 -0100
Ko pa IMP naredi tole v /imp/mailbox.php:
/* Set the current time zone. */
if ($prefs->getValue('timezone') != '') {
putenv('TZ=' . $prefs->getValue('timezone'));
}
in, ce za njim vpisem "date('r')", dobim tale izpis:
Fri, 21 Mar 2003 14:46:30 +0100
Pri cemer bi moral biti cas za 2 ure manjsi (tako kot zgoraj). Se komu sanja v
cem je problem?
--
Klemen Humerca
-----e-mail&web---------
klemen at humerca.com
www.humerca.com
forum.humerca.com
------------------------
.-.
/v\ L I N U X
// \\ >Rules<
/( )\
^^-^^
More information about the lugos-list
mailing list