Changing Local Times
Brought to you by:
bluenotemkvi
Hi There,
Any ideas on the following:
The automatic times for logging in and out are obviously
determined by the server that the facility is hosted on.
However, our webserver is in the USA whilst we are
based in the UK and there is a 5 hour delay.
Do you know how I can either get the time to be
determined from the local PC when logging in and out
OR who I can automatically add 5 hours to each
persons time. ??
Much appreciated
Paul Thompson
Logged In: YES
user_id=445113
in the most current version .9.4-1 this has been chagned, in
the config file there should be some settings for this.
// --- TIMEZONE INFO --- //
// If you have users who are in different timezones, you may
wish to display the punch-in/out
// times according to the timezone they are currently in.
Setting this option to "yes" will
// display the punch-in/out times in the timezone of the
connecting system. The timezone
// info is pulled from the user's web browser via javascript
and stored in a cookie on their
// system. The default setting is "no".
$use_client_tz = "no";
// To display the punch-in/out times in the timezone of the
web server, leave this option set
// to "yes". Setting this option to "no" AND setting the
above $use_client_tz option to "no",
// will display the punch-in/out times in GMT. Default is "yes".
$use_server_tz = "yes";