What happens if I sell before the ex-date? / What date do I need to trade on to take advantage of the Apple or Tesla split?