I am trying to determine which date is oldest and am having problems with the
clock scan command (or don't fully understand it!). My code is as follows:
set a [clock scan $date_a]
set b [clock scan $date_b]
Where date_a is a past date and date_b is in the future. The return value for the
future date (when the years are different such as 2002 for the past and 2003 for
the future) always comes back lower than the past date. I thought the clock scan
would use the same comparison date for both past and future dates. What am I
doing wrong.
The dates I used were Nov 15 2002 and Jan 15 2003, and the return
values were 1037390520 and 1011124980 respectively.
Thanks in advance!!
clock scan command (or don't fully understand it!). My code is as follows:
set a [clock scan $date_a]
set b [clock scan $date_b]
Where date_a is a past date and date_b is in the future. The return value for the
future date (when the years are different such as 2002 for the past and 2003 for
the future) always comes back lower than the past date. I thought the clock scan
would use the same comparison date for both past and future dates. What am I
doing wrong.
The dates I used were Nov 15 2002 and Jan 15 2003, and the return
values were 1037390520 and 1011124980 respectively.
Thanks in advance!!