The Upaniṣads, the last part to be added onto these four groups of Vedas, probably mostly date from around 600 to 300 BCE.
The Upaniṣads thus date from around the time of the Buddha and soon after. Indeed, some additions were made to the Upaniṣads up until modern times.