>From comp.lang.tcl:
Submitted by: Oliver Springauf
OperatingSystem: Windows NT
Synopsis: Jacl clock command: integer overflow
ReproducibleScript:
% clock format [clock scan "10/02/1900"]
Fri Nov 07 05:28:17 GMT+01:00 2036
ObservedBehavior:
Jacl's (1.2.6) clock command returns the current system time as an
integer, although the Java implementation provides it as a "long". The
conversion to int causes an overflow around February 1900.
DesiredBehavior:
Use a string or long representation for clock values to preserve java's
accuracy.
----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe: send mail to [EMAIL PROTECTED]
with the word SUBSCRIBE as the subject.
To unsubscribe: send mail to [EMAIL PROTECTED]
with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'.
An archive is available at http://www.mail-archive.com/[email protected]