Try the TCL modules that parse date and time (tclGetDate.y and tclClock.c). They are licensed BSD style. Ed