transfer date calculation