Throw InvalidOperationException if we cannot parse date