Date Formats from JSON data

#1

Hey guys. I’m using an HTTP GET request, which brings back some JSON data. Some of the values are dates in the format “yyyy-mm-dd hh:mm:ss”. I’d like to format the date in my answer back, using the format “dd mmm yyyy”.

At the moment the I have this: Your order will be delivered on: {{call_api_to_get_order_status.data__response__promise_date}

How do I specify the format in there?

(Sarah Palombo) #2

Hello :slightly_smiling_face:

We can handle this nicely. Just add a task using the Date & Time (Format Date)
just add the {{call_api_to_get_order_status.data__response__promise_date} into the date and choose the format i.e DD-MMM-YYYY … there’s lots of options you can choose from

That will organise the Date & time so you can pop that into your next message :+1:

Hope that helps