I want to compare just the time part of different datetimes.
the result gives me false, but it should be true. what am I missing here? is there a better way to do it.
this is what I tried, and the logic seems to fail:
let current_future = format_datetime(now(+2h), 'HH:m:s.fff');
//print current_future
let current_past = format_datetime(now(-1h), 'HH:m:s.fff');
//print current_past
let result = iff((todatetime(current_past) < todatetime(current_future)), "true", "false");
print result ```