getText

abstract fun getText(): String

Retrieves the date value as a string representation. The format of the string is YYYY-MM-DD.

Return

The date formatted as a string.