0
Hi can anyone help me into this please, I want to change the date formats of Mon 17 may 2021 11:00 to 17052021 . Please help.
5 odpowiedzi
+ 3
import datetime
https://docs.python.org/3/library/datetime.html
+ 1
I am using , datetime.datetime.strptime(row['date'],"%d %b %Y"). But it is not working, throwing an error
+ 1
You have to do it like this:
import time
print(time.strftime('%d%m%Y'))
0
Maybe you could provide your code?
0
Thanks all for replying, I resolved my issue. Thanks again.