Time and Date Routines -- based on datafiles/strftime.c in apue.3e