Flowdock
method

xmlschema

Importance_1
Ruby on Rails latest stable (v4.2.7) - 0 notes - Class: Date
xmlschema() public

Returns a string which represents the time in used time zone as DateTime defined by XML Schema:

date = Date.new(2015, 05, 23)  # => Sat, 23 May 2015
date.xmlschema                 # => "2015-05-23T00:00:00+04:00"
Show source
Register or log in to add new notes.