Convert a DolphinDB temporal variable to a string with specified format.
For details about DolphinDB temporal formats, please check the section
Parsing and Format of Temporal Variables.
Parameters:
X (Constant) – A scalar/vector of temporal data types.
format (Constant) – A string indicating a temporal format.