Dates and times in Python

Open to
Government analysts
Training category
Type of training
4 hours
Analysis Function Capability Team
Analysis Function Capability Team


Dealing with dates and times is something any data analyst will need to do at some point. This course provides an introduction on how to deal with this kind of data as this is not covered in the Introduction to Python course. The prerequisite of this course is the Introduction to Python or have some basic Python knowledge.

Learning outcomes

By the end of the session, participants will:

  • know how to create date-time classes and data structures
  • understand how dates and time are stored
  • convert date-time information in character format
  • convert a date-time column to different date-time classes
  • extract parts of a date-time
  • date-time operations including addition, subtractions, rounding dates and creating a sequence of dates

How to book

Please use your Learning Hub account to access the course online. Alternatively, please email


If you would like more information about this course, please email

Related courses

Dates and times in R

Introduction to Python