* snosniv <
[email protected]>
| If I do this:
| set z {01/01/1970 00:00:00}
| set t3 [clock scan $z -format "%d/%m/%Y %H:%M:%S"]
| I get -3600 as the result, not zero?
| set z {01/01/1970 01:00:00}
| does return zero after conversion?
| Am I missing something?
Your local time zone. Check the -timezone argument for clock scan.
set t3 [clock scan $z -format "%d/%m/%Y %H:%M:%S" -timezone :UTC]
=> 0
https://www.tcl-lang.org/man/tcl8.6/TclCmd/clock.htm#M10
R'
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)