readableDateTimeFormat property

String readableDateTimeFormat

Readable Date Time Format

Returns date and time string in the format Tuesday 1 January 2022, 08:00pm

Usage:

DateTime.now().readableDateTimeFormat

Result:

Tuesday 1 January 2022, 08:00pm

Implementation

String get readableDateTimeFormat {
  return '$readableDate, $timeFormat';
}