Be more consistent across boost versions.

It seems older boost::date_time versions accepted just dates from
a format string, whilst the newer ones do not. We'll be strict and
require a time from all.
Refs #9227