简体   繁体   中英

Format utcnow() in Azure Data Factory

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.

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. 动态内容 日期函数 utcnow 最终设定

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM