I would most likely start by fixing the wrong data. If there are only couple of wrong values you could use recode or you could write some formula to do the fixing for you. Below is one option that could work:
Names Default To Here(1);
dt = New Table("Untitled 3",
Add Rows(5),
Compress File When Saved(1),
New Column("datechar",
Character,
"None",
Set Values(
{"13.05.2021 20:00:00", "13.05.2021 21:00:00", "13.05.2021 22:00:00",
"13.05.2021 23:00:00", "14.05.2021", "14.05.2021 01:00:00"}
)
)
);
wait(1);
Column(dt, "datechar") << Set Each Value(If(Length(:datechar) <= Length("14.05.2021"),
:datechar || " 00:00:00", :datechar));
-Jarmo