The end of the Final War in the best case scenario, then Raftel / Laugh Tale will kick in.
Unless.....
Raftel will come first. :P
Unless.....
Raftel will come first. :P
Oda basically already confirmed that it will be roughly 5 years until Luffy becomes PK ("the most adventurous/exciting part of the story will be over in 5 years") and after that the full blown final war against Imu and the WG/CD will happen.