How to add current date to file name

Here is a simple example showing how to add the current date to an exported file name. The file name is obtained using a calculated parameter with the following expression:

'result' & format(today(), 'dd-MM-yyyy') & '.csv'

which evaluated (on the date of this post) to

result16-04-2019.csv

Then the parameter is used in the export action instead of a hardcoded file name.

filename-timestamp.morph (1.6 KB)

1 Like