toString

toString()

Converts the value of the current DateTime object to its equivalent string representation.

Returns: A string representation of the value of the current DateTime object.