RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

For a Good Strftime - Easy Skeezy Date/Time Formatting

Looking up strftime formatting codes is a pain. With For a Good Strftime you can drag and drop date elements to create your own format codes or choose from any of our lovely presets.

Comments

You’re missing a few codes. There is a more complete list here: http://strfti.me/

I like http://strfti.me/ way better

This prompted me to post how I’ve handled dealing with date and time formatting. I prefer to never look up of deal directly with strftime codes at all. I don’t even like to read them in code. I yanked some files out of a project to show some examples…

http://www.gregwillits.ws/articles/no_more_strftime

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in