Hello @Mark de Jonge ,
Welcome to the Q&A .
Do you know as to what is the format of the datetime being exposed by the API ? I am guessing that its epoch time , if thats the case then you can
- ADF expression .
You can use an expression like @addSeconds(' 1970-01-01', int(pipeline().parameters.timeelapsedinseconds))
The below image will help you understand the implemenation .
- Since you have SQL as the sink , you can also use the below query .
2020-07-20 22:29:43.000SELECT DATEADD(s, 1595284183, '19700101')
Let me know how it goes and if you have any further queries .
Thanks & stay safe
Himanshu
Please do consider to click on "Accept Answer" and "Up-vote" on the post that helps you, as it can be beneficial to other community members