Python - How to Print Current Date and Time

preview_player
Показать описание
Set to 1080P on LARGE player for better viewing.
I will show you how to print the current date and time by implementing and using the time module Also I will show you how to make the program more "appealing to the eye."
This is different from my regular tutorials. A YouTube user wanted me to upload this video, showing him how to Print the Current Date
Рекомендации по теме
Комментарии
Автор

Thanks Bobby, I was stuck on this and realized I had deleted my own "Now" variable and it was breaking my py package. Thanks again, good basic video.

michaeltsu
Автор

the vacuum cleaner in the background me liky

juri
Автор

Nice video, does this if statement work for times before midday? Otherwise we would have negative times generated by your code.

if currentHour > 12
currentHour = currentHour - 12

crazybunkum
Автор

Can I use Python to create a date display for a certain range of dates instead of using the system time? Thanks!

SteveFlatEarth
Автор

It still work on Python 3.5.2 on linux

blowsnow