formatDate method

String formatDate()

Formats the date as day Mon year

Example:

SlickDateTime(DateTime(2025, 10, 9)).formatDate(); // "9 Oct 2025"

Implementation

String formatDate() {
  if (_isNA) return 'N/A';
  return '${this!.day} ${monthName()} ${this!.year}';
}