phpf
A Ruby port of PHP's date function
Installation
$ gem install phpf
Usage
Either use the Time#phpf method or the Kernel#date method, for example:
require 'phpf'
time = Time.parse('1/1/2008 12:34:56')
time.phpf('jS F Y H:i') # => "1st January 2008 12:34"
time.to_i # => 1199190896
date('jS F Y H:i', 1199190896) # => "1st January 2008 12:34"