public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* TZ environment variable
@ 2002-04-24  8:28 Marcos Lorenzo de Santiago
  2002-04-24  8:29 ` Corinna Vinschen
  2002-04-24 17:57 ` Kurt Roeckx
  0 siblings, 2 replies; 10+ messages in thread
From: Marcos Lorenzo de Santiago @ 2002-04-24  8:28 UTC (permalink / raw)
  To: cygwin

Easy question:
	Which values are valid for the TZ environment variable?

I looked all the manpages (linux & windows manpages) but found nothing
refering to this variable. I know that perl and cygwin look at this
variable to display localtime and I need to know if my configuration is
set correctly.

thanx!
m4c.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: TZ environment variable
  2002-04-24  8:28 TZ environment variable Marcos Lorenzo de Santiago
@ 2002-04-24  8:29 ` Corinna Vinschen
  2002-04-24  9:02   ` Marcos Lorenzo de Santiago
  2002-04-24 17:57 ` Kurt Roeckx
  1 sibling, 1 reply; 10+ messages in thread
From: Corinna Vinschen @ 2002-04-24  8:29 UTC (permalink / raw)
  To: cygwin

On Wed, Apr 24, 2002 at 05:15:56PM +0200, Marcos Lorenzo de Santiago wrote:
> Easy question:
> 	Which values are valid for the TZ environment variable?
> 
> I looked all the manpages (linux & windows manpages) but found nothing
> refering to this variable. I know that perl and cygwin look at this
> variable to display localtime and I need to know if my configuration is
> set correctly.

Tip of the day: http://www.opengroup.org/onlinepubs/007908799/xbd/envvar.html

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: TZ environment variable
  2002-04-24  8:29 ` Corinna Vinschen
@ 2002-04-24  9:02   ` Marcos Lorenzo de Santiago
  2002-04-24  9:28     ` Marcos Lorenzo de Santiago
  0 siblings, 1 reply; 10+ messages in thread
From: Marcos Lorenzo de Santiago @ 2002-04-24  9:02 UTC (permalink / raw)
  To: Corinna Vinschen; +Cc: cygwin

On Wed, 24 Apr 2002, Corinna Vinschen wrote:

     > Tip of the day: http://www.opengroup.org/onlinepubs/007908799/xbd/envvar.html
     >
     > Corinna

Thanks, but I looked at it and doesn't refer to ":characters" or say what
values (in characters) can this variable have.


>> START SNIP
TZ
 Timezone information. The contents of the environment variable named TZ
are used by the ctime(), localtime(), strftime() and mktime() functions,
and by various utilities, to override the default timezone. The value of
TZ has one of the two forms (spaces inserted for clarity):

:characters

 or:

std offset dst offset, rule
<< END SNIP



thx,
m4c.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: TZ environment variable
  2002-04-24  9:02   ` Marcos Lorenzo de Santiago
@ 2002-04-24  9:28     ` Marcos Lorenzo de Santiago
  0 siblings, 0 replies; 10+ messages in thread
From: Marcos Lorenzo de Santiago @ 2002-04-24  9:28 UTC (permalink / raw)
  To: Corinna Vinschen; +Cc: cygwin

On Wed, 24 Apr 2002, Corinna Vinschen wrote:

     > Tip of the day: http://www.opengroup.org/onlinepubs/007908799/xbd/envvar.html
     >
     > Corinna

Thanks, but I looked at it and doesn't refer to ":characters" or say what
values (in characters) can this variable have.


>> START SNIP
TZ
 Timezone information. The contents of the environment variable named TZ
are used by the ctime(), localtime(), strftime() and mktime() functions,
and by various utilities, to override the default timezone. The value of
TZ has one of the two forms (spaces inserted for clarity):

:characters

 or:

std offset dst offset, rule
<< END SNIP



thx,
m4c.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: TZ environment variable
  2002-04-24  8:28 TZ environment variable Marcos Lorenzo de Santiago
  2002-04-24  8:29 ` Corinna Vinschen
@ 2002-04-24 17:57 ` Kurt Roeckx
  2002-04-25  5:59   ` Marcos Lorenzo de Santiago
  2002-04-25 13:50   ` Andrew DeFaria
  1 sibling, 2 replies; 10+ messages in thread
From: Kurt Roeckx @ 2002-04-24 17:57 UTC (permalink / raw)
  To: cygwin

On Wed, Apr 24, 2002 at 05:15:56PM +0200, Marcos Lorenzo de Santiago wrote:
> Easy question:
> 	Which values are valid for the TZ environment variable?
> 
> I looked all the manpages (linux & windows manpages) but found nothing
> refering to this variable. I know that perl and cygwin look at this
> variable to display localtime and I need to know if my configuration is
> set correctly.

Try man tzset.

Basicly, you can set it to anything you find in the "zoneinfo"
(/usr/share/zoneinfo)


Kurt


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: TZ environment variable
  2002-04-24 17:57 ` Kurt Roeckx
@ 2002-04-25  5:59   ` Marcos Lorenzo de Santiago
  2002-04-26  7:28     ` Nancy McGough
  2002-04-25 13:50   ` Andrew DeFaria
  1 sibling, 1 reply; 10+ messages in thread
From: Marcos Lorenzo de Santiago @ 2002-04-25  5:59 UTC (permalink / raw)
  To: Kurt Roeckx; +Cc: cygwin

On Thu, 25 Apr 2002, Kurt Roeckx wrote:

     > On Wed, Apr 24, 2002 at 05:15:56PM +0200, Marcos Lorenzo de Santiago wrote:
     > > Easy question:
     > > 	Which values are valid for the TZ environment variable?
     > >
     > > I looked all the manpages (linux & windows manpages) but found nothing
     > > refering to this variable. I know that perl and cygwin look at this
     > > variable to display localtime and I need to know if my configuration is
     > > set correctly.
     >
     > Try man tzset.
     >
     > Basicly, you can set it to anything you find in the "zoneinfo"
     > (/usr/share/zoneinfo)
     >
     >

Well I already tried looking that manpage. I was looking for documentation
on setting TZ variable as characters, ie: TZ=CEST-1CET, not the files
which I can set.

thx,
m4c.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: TZ environment variable
  2002-04-24 17:57 ` Kurt Roeckx
  2002-04-25  5:59   ` Marcos Lorenzo de Santiago
@ 2002-04-25 13:50   ` Andrew DeFaria
  1 sibling, 0 replies; 10+ messages in thread
From: Andrew DeFaria @ 2002-04-25 13:50 UTC (permalink / raw)
  To: cygwin

Kurt Roeckx wrote:

> On Wed, Apr 24, 2002 at 05:15:56PM +0200, Marcos Lorenzo de Santiago 
> wrote:
>
>> Easy question:
>> Which values are valid for the TZ environment variable?
>>
>> I looked all the manpages (linux & windows manpages) but found 
>> nothing refering to this variable. I know that perl and cygwin look 
>> at this variable to display localtime and I need to know if my 
>> configuration is set correctly.
>
> Try man tzset.

$ man tzset
No manual entry for tzset

> Basicly, you can set it to anything you find in the "zoneinfo" 
> (/usr/share/zoneinfo)

$ ls /usr/share/zoneinfo
ls: /usr/share/zoneinfo: No such file or directory




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: TZ environment variable
  2002-04-25  5:59   ` Marcos Lorenzo de Santiago
@ 2002-04-26  7:28     ` Nancy McGough
  2002-04-27  6:51       ` Gerrit P. Haase
  0 siblings, 1 reply; 10+ messages in thread
From: Nancy McGough @ 2002-04-26  7:28 UTC (permalink / raw)
  To: cygwin

On 25 Apr 2002 Marcos Lorenzo de Santiago (marcos@laud.it.uc3m.es) wrote:
> Well I already tried looking that manpage. I was looking for documentation
> on setting TZ variable as characters, ie: TZ=CEST-1CET, not the files
> which I can set.

There's a list of possible TZ settings here:

 <http://www.ufaq.org/navcom/settz.html>

If anyone knows of a better list, please let me know because I
link to this on my Power Pine page.

Thanks,
Nancy


-- 
Nancy McGough           <http://www.ii.com/>           Infinite Ink
--= Sent via Pine 4.44: IMAP, NNTP & ESMTP for Unix/Win/MacOS X =--


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: TZ environment variable
  2002-04-26  7:28     ` Nancy McGough
@ 2002-04-27  6:51       ` Gerrit P. Haase
  0 siblings, 0 replies; 10+ messages in thread
From: Gerrit P. Haase @ 2002-04-27  6:51 UTC (permalink / raw)
  To: Nancy McGough; +Cc: cygwin

Hallo Nancy,

Am 2002-04-26 um 16:07 schriebst du:

> On 25 Apr 2002 Marcos Lorenzo de Santiago (marcos@laud.it.uc3m.es) wrote:
>> Well I already tried looking that manpage. I was looking for documentation
>> on setting TZ variable as characters, ie: TZ=CEST-1CET, not the files
>> which I can set.

> There's a list of possible TZ settings here:

>  <http://www.ufaq.org/navcom/settz.html>

Not a list of possible settings but good explanation:
http://toi.iriti.cnr.it/en/timezone.html

Here you can lookup what offset your country has regarding UTC:
http://tycho.usno.navy.mil/tzones.html


Gerrit
-- 
=^..^=


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: TZ environment variable
@ 2002-04-26 10:59 Kilroy, David
  0 siblings, 0 replies; 10+ messages in thread
From: Kilroy, David @ 2002-04-26 10:59 UTC (permalink / raw)
  To: cygwin

Might not be for cygwin, but valid on at least one unix, and very explicit
though it doesn't list the timezone abbreviations:

http://www.mcsr.olemiss.edu/cgi-bin/man-cgi?environ+5


Dave.


> -----Original Message-----
> From: Nancy McGough [mailto:nm-this-address-is-valid@no.sp.am]
> Sent: Friday, April 26, 2002 10:08 AM
> To: cygwin@cygwin.com
> Subject: Re: TZ environment variable
> 
> 
> On 25 Apr 2002 Marcos Lorenzo de Santiago 
> (marcos@laud.it.uc3m.es) wrote:
> > Well I already tried looking that manpage. I was looking 
> for documentation
> > on setting TZ variable as characters, ie: TZ=CEST-1CET, not 
> the files
> > which I can set.
> 
> There's a list of possible TZ settings here:
> 
>  <http://www.ufaq.org/navcom/settz.html>
> 
> If anyone knows of a better list, please let me know because I
> link to this on my Power Pine page.
> 
> Thanks,
> Nancy
> 
> 
> -- 
> Nancy McGough           <http://www.ii.com/>           Infinite Ink
> --= Sent via Pine 4.44: IMAP, NNTP & ESMTP for Unix/Win/MacOS X =--
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-04-27 11:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-24  8:28 TZ environment variable Marcos Lorenzo de Santiago
2002-04-24  8:29 ` Corinna Vinschen
2002-04-24  9:02   ` Marcos Lorenzo de Santiago
2002-04-24  9:28     ` Marcos Lorenzo de Santiago
2002-04-24 17:57 ` Kurt Roeckx
2002-04-25  5:59   ` Marcos Lorenzo de Santiago
2002-04-26  7:28     ` Nancy McGough
2002-04-27  6:51       ` Gerrit P. Haase
2002-04-25 13:50   ` Andrew DeFaria
2002-04-26 10:59 Kilroy, David

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).