Added Unix Epoch option for formatDate helper.

When the date provided to formatDate is a number, it is assumed to be
the unix epoch time representation.