Allow floating point values for date helper.