concatDateTime#

swordfish.function.concatDateTime()#

Combine date and time into one new variable.

Parameters:
  • date (Constant) – A scalar/vector of data type DATE.

  • time (Constant) – A scalar/vector of data type SECOND, TIME or NANOTIME. If date and time are both vectors, they must have the same length.

Returns:

If time is SECOND, return DATETIME.

If time is TIME, return TIMESTAMP.

If time is NANOTIME, return NANOTIMESTAMP.

Return type:

Constant