How to change Date format

<a href="http://corelib.rubyonrails.org/classes/ Time.html#M000264">strftime method</a>

my_time.strftime("%d-%m-%Y")