Skip to content
accelerando

Ruby: Formatting time values as RFC3339

Times in RSS Feeds and the like are formatted as RFC3339 most of the time. You can save yourself from strftime by using

Time.now.xmlschema

One Trackback/Pingback

  1. […] just for ruby but also the corresponding formats […]

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*

*