to_s — Returns a String representation
basetimestampObj.to_s(fmt)
#to_s returns a String representation of the BaseTimestamp object. If the BaseTimestamp object 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.