check if date value is not empty