Why a date field is coming with "false" value?