This function is given an int value representing a date (as per legacy Iris database) and it converts it to a date time.