python currnent time

Solutions on MaxInterview for python currnent time by the best coders in the world

showing results for - "python currnent time"
Claudia
26 Jul 2018
1from datetime import datetime
2now = datetime.now()
3print(now.strftime("%d/%m/%Y %H:%M:%S"))