FormatDateTime converts a DateTime value into a String data type, so while it is a DateTime Function, it is also a Conversion Function.

Please refer to FormatDateTime, and also Date And Time Format Specifiers for information about formatting options for this function.