Check for empty string value for datetime column