onlyDate constant

DateTimeFormatter const onlyDate

Prints only the date.

Example:

  • 2019-06-04

Implementation

static const DateTimeFormatter onlyDate = _onlyDate;