Azure Data Factory compare 2 datetime to check if difference greater than 10 hours

Biju Mathew 481 Reputation points
2023-04-27T10:06:24.5466667+00:00

Hello,

I have 2 dates stored in variables in Azure Data Factory.

I want to put an IF condition to check if the difference between the 2 dates is greater than 10 hours

How can i achieve this in ADF please?

thanks

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,608 questions
0 comments No comments
{count} votes

Accepted answer
  1. Nandan Hegde 36,066 Reputation points MVP Volunteer Moderator
    2023-04-27T10:31:27.1466667+00:00

    Below link addresses the same aspect :

    https://learn.microsoft.com/en-us/answers/questions/31578/datetime-difference-between-two-dates-in-minutes

    rather than converting to mins, you can convert it to hours and compare it

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.