xmlschema

DateTime.xmlschema(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 XML Schema formats.

1
2
DateTime.xmlschema('2001-02-03T04:05:06+07:00')
                          #=> #<DateTime: 2001-02-03T04:05:06+07:00 ...>
doc_ruby_on_rails
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.