Reputation: 143
How can I format dynamic content utcnow() to something like this “2021-06-01 13:42:59” in ADF. I have tried “yyyy-MM-dd HH:mm:ss” but it doesn’t work.
Upvotes: 6
Views: 23780
Reputation: 2662
As @Joel mentioned, you can use the inbuilt date function utcnow(). Click on "Add dynamic content" and select the "utcnow" under the date functions. Then add the formatting like 'yyyy-MM-dd HH:mm:ss' within the braces. Eventually you should have something like the attached picture.
Upvotes: 8