Hi all, I'm in the process of creating a custom export to CSV from a connector and need to export a specific date range (basically anything from yesterday in my local timezone).
How do I nest an in-line handlebar expression for min date in the correct timezone format to facilitate this?
I can see dateFormat and dateAdd though do I combine the two together?
I know it's probably a fairly simple one, though often the getting the formatting of these things right and functional, especially with times, is very time consuming and I need a fast answer, with one not readily apparent in the Celigo handlebar formatting guide (would be good to include some examples of this in the date formattings as I'm sure it's been a very common question over time).
The day before yesterday (created_at_max) {{dateFormat 'YYYY-MM-DD hh:mmZ' (dateAdd (timestamp) '-86400000') 'YYYY-MM-DD hh:mm' 'Australia/Melbourne' }}