DateTimeFormatter extension

Extension on DateTime to provide convenient date formatting.

on

Methods

format({String dateFormat = DateTimeFormatsVN.dateOnly}) String

Available on DateTime, provided by the DateTimeFormatter extension

Formats the DateTime object into a string using the specified format.