rfc3339

DateTime.rfc3339(string='-4712-01-01T00:00:00+00:00'[, start=ITALY]) â datetime
Class Public methods

Creates a new Date object by parsing from a string according to some typical RFC 3339 formats.

DateTime.rfc3339('2001-02-03T04:05:06+07:00')
                          #=> #<DateTime: 2001-02-03T04:05:06+07:00 ...>
doc_ruby_on_rails
2015-04-02 17:52:51
Comments
Leave a Comment

Please login to continue.