Re: Is Daylight Savings enabled ?



Jean-David Beyer wrote:

What if you are running a server and some users log in from across a time
zone boundary? Will they see the time where the server is located? I
suppose so.

The server is set to GMT. Timezones are just a convenience for users,
although the server generally provides a default timezone for users who
don't want to specify their own.

Users who are in a different timezone are perfectly welcome to set a TZ
environment variable to display dates in whatever timezone they happen to
be in:

$ date
Tue Apr 4 08:31:04 PDT 2006
$ TZ=MST7MDT date
Tue Apr 4 09:31:13 MDT 2006
$ TZ=MST7 date
Tue Apr 4 08:31:51 MST 2006
$ TZ=US/Hawaii date
Tue Apr 4 05:31:21 HST 2006
$ TZ=US/East-Indiana date
Tue Apr 4 11:31:27 EDT 2006
$ TZ=US/Indiana-Starke date
Tue Apr 4 10:31:36 CDT 2006

--
Dave Carrigan
Seattle, WA, USA
dave@xxxxxxxxxxx | http://www.rudedog.org/
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL-Postfix
.



Relevant Pages

  • Re: RE: Oracle Rdb on GS1280 with 7.3-2 exceeds 1 million transactions per
    ... in propogating pseudotime to processes created by the pseudotime process. ... In this age of server consolidation and the internet, ... the guy was perfectly happy for datesim to do it. ... based on the timezone of the user logging in. ...
    (comp.os.vms)
  • Re: how to make dates without timezones?
    ... because the time depends on the timezone. ... servers time for both parse and format. ... that letting the client app format using the servers timezone is ... that the bulk of the work in my app is done on the server and is ...
    (comp.lang.java.programmer)
  • Re: how to make dates without timezones?
    ... The problem is that when i load them into a java ... Date it automatically assigns the timezone. ... My application is a client server app using rmi. ...
    (comp.lang.java.programmer)
  • Re: how to make dates without timezones?
    ... example is the birthdate field. ... because the time depends on the timezone. ... that letting the client app format using the servers timezone is ... Well I just tried setting it up so my server would auto switch back ...
    (comp.lang.java.programmer)
  • Re: how to make dates without timezones?
    ... class, with a unique format on the wire, so that you don't accidentally ... after on a change in timezone. ... access/display the date it is in the same timezone that the server is ... No, make sure it is *always* treated as a specific time zone, regardless ...
    (comp.lang.java.programmer)