Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,651 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi
How do we get datetime in epoch in ADF please?
thanks
Hi,
Did you get a chance to check the below page in SO?
https://stackoverflow.com/questions/50322247/epoch-timestamp-in-data-factory
You can declare a variable and use set variable activity in control flow to use the expression mentioned in above link.
Please give it a try and, let us know how it goes
toInteger(toLong(rtrim(toString((currentUTC('GMT'))-toTimestamp('1970-01-01T00:00:00','yyyy-MM-dd'T'HH:mm:ss', 'GMT')),'')) / 1000)