formatCompactDate method Null safety

String formatCompactDate(
  1. DateTime date
)

Formats the date in a compact format.

Usually just the numeric values for the for day, month and year are used.

Examples:

  • US English: 02/21/2019
  • Russian: 21.02.2019

See also:

Implementation

String formatCompactDate(DateTime date);