I need a condition for an “IF” activity. The logic is: if the current time is between 1:25 AM and 2:30 AM, the condition should go to the “Else” section.
I used the below conditions but not working
(DateTime.ParseExact(CurrentDate, “HHmmss”, CultureInfo.InvariantCulture).TimeOfDay >= New TimeSpan(11, 10, 0)) AndAlso (DateTime.ParseExact(CurrentDate, “HHmmss”, CultureInfo.InvariantCulture).TimeOfDay <= New TimeSpan(12, 10, 0))