Answer the question
In order to leave comments, you need to log in
How to change the time format in Python?
Hello, I have the code -
currect_datetime = datetime.now()
currect_time = f'{currect_datetime.hour}:{currect_datetime.minute}'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question