StringToDateTimeStringExtensions extension

Date formatting extensions for Strings.

on

Properties

dayMonth → String

Available on String, provided by the StringToDateTimeStringExtensions extension

Formats the current number as a date string in 'dd-MM' format.
no setter
dmy → String

Available on String, provided by the StringToDateTimeStringExtensions extension

Formats the current number as a date string in 'dd-MM-yyyy' format.
no setter
fullDateTime → String

Available on String, provided by the StringToDateTimeStringExtensions extension

Formats the current number as a full date and time string in 'yyyy-MM-dd HH:mm:ss' format.
no setter
fullDateTimeDmY → String

Available on String, provided by the StringToDateTimeStringExtensions extension

Formats the current number as a full date and time string in 'dd/MM/yyyy HH:mm:ss' format.
no setter
fullDateTimeDmy → String

Available on String, provided by the StringToDateTimeStringExtensions extension

Formats the current number as a full date and time string in 'dd-MM-yyyy HH:mm:ss' format.
no setter
fullDateTimeMdy → String

Available on String, provided by the StringToDateTimeStringExtensions extension

Formats the current number as a full date and time string in 'MM/dd/yyyy HH:mm:ss' format.
no setter
hm → String

Available on String, provided by the StringToDateTimeStringExtensions extension

Formats the current number as a time string in 'HH:mm' format.
no setter
hms → String

Available on String, provided by the StringToDateTimeStringExtensions extension

Formats the current number as a time string in 'HH:mm:ss' format.
no setter
iso8601 → String

Available on String, provided by the StringToDateTimeStringExtensions extension

Formats the current number as a date-time string in ISO 8601 format 'yyyy-MM-ddTHH:mm:ss'.
no setter
longDate → String

Available on String, provided by the StringToDateTimeStringExtensions extension

Formats the current number as a long date string, which is locale dependent.
no setter
mdy → String

Available on String, provided by the StringToDateTimeStringExtensions extension

Formats the current number as a date string in 'MM/dd/yyyy' format.
no setter
monthYear → String

Available on String, provided by the StringToDateTimeStringExtensions extension

Formats the current number as a string only containing the month and year.
no setter
shortDate → String

Available on String, provided by the StringToDateTimeStringExtensions extension

Formats the current number as a short date string, which is locale dependent.
no setter
time → String

Available on String, provided by the StringToDateTimeStringExtensions extension

Formats the current number as a time string in 'HH:mm:ss' format.
no setter
yearMonth → String

Available on String, provided by the StringToDateTimeStringExtensions extension

Formats the current number as a date string in 'yyyy-MM' format.
no setter
ymd → String

Available on String, provided by the StringToDateTimeStringExtensions extension

Formats the current number as a date string in 'yyyy-MM-dd' format.
no setter
zonedDateTime → String

Available on String, provided by the StringToDateTimeStringExtensions extension

Formats the current number as a complete date-time string with timezone information in 'yyyy-MM-ddTHH:mm:ssZ' format.
no setter