Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 51f065897c8c2eb5594210d50a8d984e0985694e
Ticket: 219413ffffffffffffffffffffffffffffffffff
clock can't handle dates > year 2038
User & Date: dkf on 2000-11-06 22:13:10
Changes

  1. icomment:
    The problem is that times are represented internally as signed 32-bit numbers indicating the number of seconds since 1 Jan 1970 00:00:00 GMT, and the number wraps round sometime in 2038 to the early 20th century.  Fixing this requires the introduction of 64-bit time representations (which offer support for times longer than recorded history,) but this is incompatible with numerous OS interfaces.  IOW, the problem affects far more than just Tcl and as such is pretty intractable from our PoV.  :^(  Unless someone is willing to submit a replacement for the likes of strftime() and strptime(), I'd suspect that no fix will be forthcoming before the standard C library gets fixed to tackle the problem...
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"