Format date with current locale.
Format date with current locale without timezone.
Format date with current locale without timezone.
Format date with specific mask and current locale.
Format date with specific mask and current locale.
Format date with specific mask and current locale.
Get short date-only and current locale
Get short date-only and current locale
Get short date-only and current locale
Get short datetime and current locale
Get short datetime and current locale
* Short date format. * Examples: * -------------------- * auto dt = DateTime(2020, 11, 6, 23, 17, 42); * formatShortDateTime(dt); // Gives 06.11.2020 23:17:42 for example * --------------------
* Short date format. * Examples: * -------------------- * auto dt = DateTime(2020, 11, 6, 23, 17, 42); * formatShortDate(dt); // Gives 06.11.2020 for example * --------------------
Full date-only, without timezone
* Full date. * Examples: * -------------------- * format(Clock.currTime()); // Gives Fr 06 Nov 2020 23:17:42 MSK for example * --------------------
* Full date without timezone. * Examples: * -------------------- * auto dt = DateTime(2020, 11, 6, 23, 17, 42); * format(dt); // Gives Fr 06 Nov 2020 23:17:42 for example * --------------------
D date/time format functions.