I need to split the variable date and time to date and time as per below format. I tried removing T using gsub with space and then I got the output as below but not as per my requirement? Is there any way to get time in required format?
Got output:
Time
13H 00M 0S
Desired Output:
Date and time Date Time
2018-09-21T13:00 2018-09-21 13:00:00
2019-12-24T09:07 2019-12-24 09:07:00
2020-01-24T12:28 2020-01-24 12:28:00