python currnent time now

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

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