Ported date conversions from ActiveSupport
We don't need this window