LazyExtDataTime extension

Lazy extension for DateTime

on

Methods

toFormat({String format = defaultDateTimeFormat}) String

Available on DateTime, provided by the LazyExtDataTime extension

Return String in supplied format or lazy.defaultTimestampFormat = yyyy-MM-dd HH:mm:ss
toStringFormat({String format = defaultDateTimeFormat}) String

Available on DateTime, provided by the LazyExtDataTime extension

Alias to toFormat
toTimestamp() String

Available on DateTime, provided by the LazyExtDataTime extension

Return String in format: defaultTimestampFormat = yyyy-MM-dd hhmmss