verifying that a date is actually set before saving since 0 is a valid but incorrect date