DateString

WMA link


DateString[]

returns the current local time and date as a string.

DateString[elem]

returns the time formatted according to elems.

DateString[{$e_1$, $e_2$, ...}]

concatenates the time formatted according to elements ei.

DateString[time]

returns the date string of an AbsoluteTime.

DateString[{y, m, d, h, m, s}]

returns the date string of a date list specification.

DateString[string]

returns the formatted date string of a date string specification.

DateString[spec, elems]

formats the time in turns of elems. Both spec and elems can take any of the above formats.

The current date and time:

Non-integer values are accepted too:

DatePlus
EasterSunday