[Gllug] OT: Tcl and timezone info
Tethys
tet at createservices.com
Thu Oct 23 15:18:47 UTC 2003
"Hong Chyr" writes:
>I'm interested to program a world clock application using Tcl/Tk,
>which will ultimately run on both Windoze and Linux. Any pointers
>to where I can get more information about timezone, daylight saving
>calculations, etc?
Tcl has a reasonably complete 1:1 mapping to the libc time functions[1].
So just use localtime, strftime etc., as you would from a C program.
Tet
[1] Are these in core Tcl yet, or still part of TclX?
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list