A Python Tutorial using the Datetime and pytz modules. Dates, Times, Timedeltas and timezones.

preview_player
Показать описание
A solid tutorial for learning how to use the DataTime object.

How to create a datetime object.

how to use time()
how to use fromOrdinal()
how to use toOrdinal()
how to use timedelta(days)
how to use timedelta(hours)
how to use tzname()
how to use now()
how to use tzinfo in constructor

convert UTC time to local time
convert local time to UTC

how to use datetime, date.
#softwareNuggets, #datetime, #tzname, #timezone, #timedelta, #toOrdinal, #fromOrdinal, #utc,#localtime
Рекомендации по теме