cleanups and make more general
mktime fails for CST/CDT