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