How to convert string to time and compare with current time?

Good idea for solved thank you very much

by the way i’m a newbie so i think someone who is now for newbie might be not clear about your
answers so… then i have to attach some detail over here

*** important ***

  1. The datatype of variable must be set to TimeSpan

IF something not clear please download a file.
test_time_period.xaml (7.9 KB)

thank you everyone,
Have a good day