Returns the historical date for a Person based upon the parameters below providing a way to get specific type of dates for a person (earliest employment date for example). If no date is found for a given type and code, then the DB Precision invalid date (1/1/1800) will be returned.
GETHISTDATE(DateType, DateCode, LookupType, IgnoreEst, StartDate (optional), EndDate (optional))