Data factory doesn't have a built-in date difference function. I want to compare lastModified date and utcnow in if condition activity. How can I achieve it?
@greaterOrEquals(activity('Get Metadata1').output.lastModified, '2015-03-15T13:27:36Z')
You can use the ticks
function to convert it to integer.
Logic Apps function reference for Ticks
The ADF UI may show a warning about it not being a recognized function, but ADF is actually using logic app expressions so it will succeed if you debug or trigger the pipeline.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With