Skip to main content
HomePython

course

Working with Dates and Times in Python

Intermediate
4.4+
36 reviews
Updated 12/2024
Learn how to work with dates and times in Python.
Start course for free

Included for FreePremium or Teams

PythonSoftware Development4 hours14 videos48 exercises4,100 XP63,901Statement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Course Description

You'll probably never have a time machine, but how about a machine for analyzing time? As soon as time enters any analysis, things can get weird. It's easy to get tripped up on day and month boundaries, time zones, daylight saving time, and all sorts of other things that can confuse the unprepared. If you're going to do any kind of analysis involving time, you’ll want to use Python to sort it out. Working with data sets on hurricanes and bike trips, we’ll cover counting events, figuring out how much time has elapsed between events and plotting data over time. You'll work in both standard Python and in Pandas, and we'll touch on the dateutil library, the only timezone library endorsed by the official Python documentation. After this course, you'll confidently handle date and time data in any format like a champion.

Prerequisites

Data Manipulation with pandas
1

Dates and Calendars

Start Chapter
2

Combining Dates and Times

Start Chapter
3

Time Zones and Daylight Saving

Start Chapter
4

Easy and Powerful: Dates and Times in Pandas

Start Chapter
Working with Dates and Times in Python
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review

Included withPremium or Teams

Enroll now

Don’t just take our word for it

*4.4
from 36 reviews
67%
19%
8%
3%
3%
  • Vu H.
    about 1 month

    More python tools to my toolbox

  • Li D.
    5 months

    Great

  • Reithabetse K.
    5 months

    It was easy to understand, with great demonstrations.

  • Julio M.
    6 months

    Un corto y muy eficiente curso.

  • Tharun N.
    6 months

    good stuff

"More python tools to my toolbox"

Vu H.

"Great"

Li D.

"It was easy to understand, with great demonstrations."

Reithabetse K.

Join over 15 million learners and start Working with Dates and Times in Python today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.