Source Code:
Syntax for FormatDateTime: FormatDateTime(Date,namedformat).
Result:
W3Schools.com
- Try it yourself