clock format and timezones
From: WL (me_at_privacy.net)
Date: 04/15/04
- Next message: Julia Bachynne: "Java embedded in TCL"
- Previous message: Bgc: "Re: fubar tcl/tk-8.4.6 on redhat 9"
- Next in thread: Mike Tuxford: "Re: clock format and timezones"
- Reply: Mike Tuxford: "Re: clock format and timezones"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 15 Apr 2004 04:36:16 +0000 (UTC)
I'm trying to output some timestamps according to specific
timezones. I tried using the -gmt flag, but it doesn't seem
to make a difference. This is on netbsd/alpha with tcl 8.4.2
via tclkit.
$ export TZ=JST
$ echo 'puts [clock format [file mtime .profile] -format "%c %Z" -gmt false]' | tclkit
Fri Mar 26 05:26:33 2004 GMT
$ export TZ=CST
$ echo 'puts [clock format [file mtime .profile] -format "%c %Z" -gmt false]' | tclkit
Fri Mar 26 05:26:33 2004 GMT
$ echo 'puts [clock format [file mtime .profile] -format "%c %Z" -gmt true]' | tclkit
Fri Mar 26 05:26:33 2004 GMT
WL
-- real mail: wliao at sdf loSnPesAtarM org (remove the uppercase letters...)
- Next message: Julia Bachynne: "Java embedded in TCL"
- Previous message: Bgc: "Re: fubar tcl/tk-8.4.6 on redhat 9"
- Next in thread: Mike Tuxford: "Re: clock format and timezones"
- Reply: Mike Tuxford: "Re: clock format and timezones"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|