I have tried multiple ways like splitting each value and the rearranging. and the code seems too lengthy can someone help me to write it in a shorter way.
time = "28/01/2023 13:17:58" I split it to
lis = [28,01,2023]
lis2 = [13,17,58]
then rearranged it to
t = 28/01/2023 13:17:58
can someone tell me how I can use datetime to simplify this?