The "21" in Agenda 21 refers to the original target year of 2021 where they were hoping to achieve their development goals by then. It has been affirmed and had a few modifications at subsequent UN conferences. Since it found 2021 was an overly optimistic date, its new timeline is targeting 2030. Its aim is to achieve global sustainable development. One major objective of the Agenda 21 initiative is that every local government should draw its own local Agenda 21. Since 2015, Sustainable Development Goals or also known as the Millennium Development Goals are included in the newer Agenda 2030
Source