Trying to format a date from SQL

Hi, I’m trying to format a date that I get from SQL, but its not working for me.
All the examples in the forum use $now.
$now.toFormat works but not with the date from a node.

Does anyone have an idea what I’m missing here?
Thanks :grinning:


The following should work (assuming the date can be found in the property myDate):

{{ $json.myDate.toDate().format('dd/MM/yyyy') }}

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.