Name
to_s — Returns a String representation
Synopsis
dateObj.to_s(fmt)
Description
#to_s returns a String
representation of dateObj. If
dateObj is NULL, the String
contains “NULL”.
If fmt is specified, it is used as the format
string rather than the instance variable
default_fmt, which is not affected.