how to compare two date/time fields in flow designer.

redth
Giga Expert

Hi,

I need to compare two date/time fields in flow designer. One is from the variable in catalog item and other's current date/time. Please assist.

1 ACCEPTED SOLUTION

OlaN
Giga Sage
Giga Sage

Hi,

Take a look at this article, I've built a tool to help with the scenario if you need to compare two dates and get the difference in days/hours and so on.

View solution in original post

5 REPLIES 5

Sukraj Raikhraj
Kilo Sage

Add a script step and if need to convert to date, to compare. 

Create variables to capture the values need to be compared

Alok Gupta5
Tera Guru
Tera Guru

Hello,

Hi,

Are you looking for getting the current time? Flow designer has OOB data pill Run Start Time which is nothing but the date time when the flow is triggered. You can use this in your condition. Refer the screenshot:

find_real_file.png

Hi Alok,

I need the current time, not looking for run start time.

You can get that from the Update_on field.