DateTimeExtension extension

on

Methods

getFormattedDate([String format = 'dd-MM-yyyy']) String?

Available on DateTime?, provided by the DateTimeExtension extension