temporalFormat#

swordfish.function.temporalFormat()#

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.

参数:
  • X (Constant) -- A scalar/vector of temporal data types.

  • format (Constant) -- A string indicating a temporal format.