Menu

#1 Changing Local Times

current release
closed
nobody
5
2005-06-04
2005-06-01
No

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

Discussion

  • chris K Ellsworth

    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";

     
  • Anonymous

    Anonymous - 2005-06-04
    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.