rfc822

Date.rfc822(string='Mon, 1 Jan -4712 00:00:00 +0000'[, start=ITALY]) â date
Class Public methods

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

Date.rfc2822('Sat, 3 Feb 2001 00:00:00 +0000')
                                          #=> #<Date: 2001-02-03 ...>
doc_ruby_on_rails
2015-04-02 11:26:56
Comments
Leave a Comment

Please login to continue.