From: Pat T. <pa...@zs...> - 2005-10-08 20:36:18
|
"Techentin, Robert W." <tec...@ma...> writes: >> For some reason %G is not being translated into four digit year. > >I can verify that this is an HP-UX Tcl 8.4.6 problem. On HP-UX 11.0, with >ActiveTcl 8.4.6: > >mynock> tclsh >% clock format [clock seconds] -format {%G/%m/%d %H:%M:%S} >G/10/08 13:38:11 >% info patchlevel >8.4.6 > The clock format in < 8.5 depends upon the local platforms C library implementation of strftime as I recall. I can see no reason to use %G instead of %Y and I imagine %Y is better supported. -- Pat Thoyts http://www.patthoyts.tk/ PGP fingerprint 2C 6E 98 07 2C 59 C8 97 10 CE 11 E6 04 E0 B9 DD |