Support formatting the epoch (0) date value

This fixes how dates are validated to add support for the epoch.