Get curent time and date

Published: 14 September 2021
on channel: Fast Programming
953
45

Get curent time and date #python #coding #fun #easy #how #programming #c++ #fast :

from datetime import datetime
now = datetime.now()

current_time = now.strftime("%H:%M:%S")
current_day = now.strftime("%F")

print("current day = ", current_day)
print("current time = ", current_time)


On this page of the site you can watch the video online Get curent time and date with a duration of hours minute second in good quality, which was uploaded by the user Fast Programming 14 September 2021, share the link with friends and acquaintances, this video has already been watched 953 times on youtube and it was liked by 45 viewers. Enjoy your viewing!