Ruby time in 2009-02-17T05:00-07:00 format?

Posted by viatropos on Stack Overflow See other posts from Stack Overflow or by viatropos
Published on 2010-05-24T06:34:11Z Indexed on 2010/05/24 6:41 UTC
Read the original article Hit count: 207

Filed under:
|

How do I print out a ruby time using the date-time format:

2009-02-17T05:00-07:00

Like Time.now.to_datetime_s

© Stack Overflow or respective owner

Related posts about ruby

Related posts about datetime