<a href="https://github.com/kennystone/strftimerl">https://github.com/kennystone/strftimerl</a><div><br></div><div>I literally copied ruby's strftime docs into the readme and implemented (almost) each type of formatting.</div>
<div><br></div><div>I'm considering patching the calendar module with this functionality. Thoughts?</div><div><br></div><div><div><font class="Apple-style-span" face="'courier new', monospace">strftime:f(now(), "Printed on %m/%d/%Y"). %=> "Printed on 11/19/2007"</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">strftime:f(now(), "at %I:%M%p"). %=> "at 08:37AM"</font></div><div><font class="Apple-style-span" face="'courier new', monospace">strftime:f(now(), "at %I:%M%p", universal). %=> "at 02:37PM"</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">strftime:f(now(), "%D-%T.%N"). %=> "11/19/2007-08:38:02.445443"</font></div></div><div><br></div><div>-Kenny</div>