clock format and timezones

From: WL (me_at_privacy.net)
Date: 04/15/04


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...)


Relevant Pages

  • Re: Windows Media Services plugin
    ... resulting split files the video freezes up at the ... With the corrected timestamps, ... file F1, F2, F3, etc starts with a discontinuity flag. ... wmvappend as that flag then appears in the output file ...
    (microsoft.public.windowsmedia.sdk)
  • Samba timestamps wrong!
    ... I am having problems with timestamps across SMB shares. ... Timezones and times match on both boxes (M$Win2kSrv + Gentoo). ...
    (comp.os.linux.networking)
  • Re: Getting -ve timestamp values.
    ... I tried using the SO_TIMESTAMP flag for obtaining the time ... stamp. ... But it is returning me -ve timestamps. ...
    (comp.unix.programmer)
  • Re: [SLE] cron not recognizing changes to /etc/cron.d files [SOLVED] - OT
    ... without the -t flag!! ... The same for SUSE 10.0 - I just checked. ... I came away with the impression that there were only two timestamps being ... maintained by any of the underlying file systems (Reiser, EXT2, EXT3, ...
    (SuSE)
  • WM_SF_DISCONTINUITY
    ... The frames and timestamps you get after a discontinuity ... so you don't need to modify the ... The flag just tells you that the sample is not continuous ...
    (microsoft.public.windowsmedia.sdk)