Skip to main content
February 3, 2021
Solved

How to compare two time in Appian

  • February 3, 2021
  • 1 reply
  • 0 views

Hi,

I have a requirement where I have two time values in text format (7:00 AM & 7:00 PM). I want to check if 7:00 PM is greater than 7:00 AM.

Please help me achieve it.

Thanks,

    Best answer by larsenr0001

    considering the time are in text format - totime("7:00 PM")>totime("7:00 AM") 

    This should work as it gives a boolean output 

    1 reply

    larsenr0001
    February 3, 2021

    considering the time are in text format - totime("7:00 PM")>totime("7:00 AM") 

    This should work as it gives a boolean output