DateTimeFormatExtensions extension
DateTime common format extensions,returns formatted date strings.
- on
Properties
- dmy → String
-
Formats the
DateTime
into 'dd-MM-yyyy' format.no setter - fullDateTime → String
-
Formats the
DateTime
into a full date and time string 'yyyy-MM-dd HH:mm:ss'.no setter - iso8601 → String
-
Formats the
DateTime
into ISO 8601 standard format 'yyyy-MM-ddTHH:mm:ss'.no setter - longDate → String
-
Formats the
DateTime
into a long date format, which is locale dependent.no setter - mdy → String
-
Formats the
DateTime
into 'MM/dd/yyyy', American style date format.no setter - monthYear → String
-
Formats the
DateTime
into a string only containing the month and year.no setter - shortDate → String
-
Formats the
DateTime
into a short date format, which is locale dependent.no setter - time → String
-
Formats the
DateTime
into a time format string 'HH:mm:ss'.no setter - ymd → String
-
Quick access to the 'yyyy-MM-dd' date format string.
no setter
- zonedDateTime → String
-
Formats the
DateTime
into a complete date-time string with timezone information.no setter