Simulation snapshots at various time scales

GROMACS version:2020
GROMACS modification: Yes/No
I have finished my md simulation for 100 ns .but I want to have simulation snapshots at various time scales such as 0ns , 20, 40, 60, 80 and 100 ns.so How can I get in gromacs ?

try gmx trjconv