In which year of hijra was the fasting of Ramadan enjoyed?

In which year of hijra was the fasting of Ramadan enjoyed?

رمضان المبارک کے روزے کس ہجرت میں رکھے گئے؟
Explanation

Fasting the month of Ramadan was made obligatory  during the month of Sha'ban , in the second year of Hijra in 624 AD.