5

Using Python's datetime Module

 2 years ago
source link: https://realpython.com/courses/python-datetime-module/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Using Python's datetime Module

Python has several different modules to deal with dates and times. This course concentrates on the primary one, datetime. Dates and times are messy things! Shifts due to daylight savings time and time zones complicate any computing with dates and times.

In this course, you’ll tackle that messiness and learn:

  • How to use the datetime module
  • What the zoneinfo module does and how to use it
  • How to calculate the difference between two datetime objects

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK