cancel
Showing results for 
Search instead for 
Did you mean: 

Webi Variable Help - Compare Dates/Times

former_member557046
Participant
0 Kudos

Hello,

I have the following in a webi report:

Purchased Time:

06/06/2018 12:44:00 PM

Log Time:

06/05/2018 02:13:49 PM

I need to show in a column YES/NO as to whether the Log time is less than (before) the Purchase time. In the case of my example above it would be "YES".

Can anyone help?

Thanks,

Chuck M

Accepted Solutions (1)

Accepted Solutions (1)

ayman_salem
Active Contributor
0 Kudos

use this formula:

=if FormatDate([Log Time]; "yyyyMMddHHmmSS") < FormatDate([Purchased Time]; "yyyyMMddHHmmSS") then "Yes" ELSE "No"

former_member557046
Participant
0 Kudos

Works good. Thanks

Answers (0)