Ruby on Rails
PhpStrftime

t = Time.now
t.strftime(“Printed on %m/%d/%Y”)

will output . . .

"Printed on 02/27/2001"

Courtesy ruby.ch