When you can't remember %A %B %-d
A few great tools that I use for formatting time (outside of using strftime
) are - <a href="https://github.com/jeremyw/stamp">https://github.com/jeremyw/stamp</a> and <a href="http://strftimer.com/">http://strftimer.com/</a>
Written by Brandon Hansen
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#