getEndDate returns unix time ... fix for rt#18015