Even if the TikTok ban were to pass, which I highly doubt it will, there's a loophole that will make sure it doesn't go into effect until after the presidential election.
Pretty obvious why that "6 month" timeline was chosen. Wouldn't want to disrupt his own campaign efforts.