small fixes to datetime to epoch conversion, and HCI module now understands singular units, like "+1day" instead of "+1days".