Devlok Mini - When was Bhagwad Gita Written?

Devdutt Pattanaik talks about how Bhagwad Gita made its way into scripts, as Lord Krishna recited the Chapters of Gita to Arjun.