to_date()
Return a Date object of the date which represents self.
The Date object do not contain the time component (only date).
# File lib/xmlrpc/datetime.rb, line 104 def to_date Date.new(*to_a[0,3]) end