added date validation for workout