Date input/output data

Date input/output data

Cloud_Edition_button.webp

This page provides examples of the Date function’s input and output data. Checking the input/output data can help you to validate that the function works as expected. The following examples come from the Cultflicks video streaming example stream.

Input data

The input data window shows the data forwarded to the Date function from the previous function in the stream. The input timestamp format is YYYY-MMM-DD.

Input_data_Date.png
Date function - input data

Output data

The Output data window shows a subset of the same data that has come into the Date function, but with the modifications made in the function’s configuration. The output timestamp format is YYYY-MM-DDTHH:mm:ss.SSS[Z]

Output_data_Date.png
Date function - output data

The Date function in the Cultflix example stream

The Date function in the Cultflix example stream modifies the date format from YYYY-MMM-DD to YYYY-MM-DDTHH:mm:ss.SSS[Z] with the following configuration:

The output data shows a subset of the same data, but with a modified timestamp field.

Date_dataInputOutput_config.png
Date function configuration in the Cultflix example stream