How to change date format from Y/m/d to Y-m-d

Hi all,

How to change date format from Y/m/d to Y-m-d in ruby?
thanks

Date.today.strftime(ā€™%Y-%m-%dā€™)

Esha