getText

abstract fun getText(): String

Retrieves the string representation of the dateTime value. The format of the string is YYYY-MM-DD HH:MM:SS.

Return

The dateTime value formatted as a string.