Name

to_s — Returns a String representation

Synopsis

basetimestampObj.to_s(fmt)

Description

#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.