I have a range of dates and times in such a format, and I have to add seconds to this range.
DateTime
0 2021-07-20 23:59:00
1 2021-07-20 23:59:00
2 2021-07-20 23:59:00
3 2021-07-20 23:59:00
4 2021-07-20 23:59:00
357545 2021-07-12 00:00:00 357546 2021-07-12 00:00:00 357547 2021-07-12 00:00:00 357548 2021-07-12 00:00:00 357549 2021-07-12 00:00:00
how it says 23:59:00. I want this to change to the following.
DateTime
0 2021-07-20 23:59:00
1 2021-07-20 23:59:58
2 2021-07-20 23:59:56
3 2021-07-20 23:59:54
4 2021-07-20 23:59:52
5 2021-07-20 23:59:50
6 2021-07-20 23:59:48
7 2021-07-20 23:59:46
8 2021-07-20 23:59:44
9 2021-07-20 23:59:42
and so on.
Please help me
Thanks