Skip to Content
Sep 21, 2020 at 03:16 PM

formatDate pattern


Hi colleagues,

From the chatbot, I need to pass the message timestamp to the client's service. The timestamp has the following format: 2020-09-21T15:03:31.018582+00:00

The format the client expects is 2020-09-21T10:04:14.702Z or \/Date(1600682606267)\/.

I have tried to use the formatDate with the patterns as specified at the Dates section from but I didn't suceed to get one of the formats the client expects.

Is it possible to format the timestamp like this?