Mathew K Analytics

Learn datetime with free notebooks

26 free video lessons that use datetime, each with a downloadable Jupyter notebook and, where needed, the dataset. Learn datetime by working through real examples.

About these datetime lessons

These 26 lessons come from 15 different courses, so you see datetime used in several settings. The course with the most datetime lessons is Python Beginner Course (5 lessons). 5 of the lessons include a real dataset to practise on.

datetime is most often used here together with pandas, pathlib, JSON and NumPy.

Watch the video, then run the notebook yourself: changing the code and re-running it is the fastest way to learn.

Courses that use datetime

Python Masterclass: Data Structures, OOP and Automation (Beginner Python Course, Part 4)1 h 1 min
Lesson 4

Python Masterclass: Data Structures, OOP and Automation (Beginner Python Course, Part 4)

📓 Notebook · openpyxl · collections · dataclasses

Python Regex & f-strings for Beginners: Clean Messy Text (Beginner Python Course, Part 6)58 min
Lesson 6

Python Regex & f-strings for Beginners: Clean Messy Text (Beginner Python Course, Part 6)

📓 Notebook · datetime · regex (re) · pathlib

Python datetime Tutorial: Dates, Time Zones & Reminders (Beginner Python Course, Part 7)56 min
Lesson 7

Python datetime Tutorial: Dates, Time Zones & Reminders (Beginner Python Course, Part 7)

📓 Notebook · datetime · pathlib · CSV

Automate Files & Folders with Python: pathlib, shutil, zipfile (Beginner Python Course, Part 8)58 min
Lesson 8

Automate Files & Folders with Python: pathlib, shutil, zipfile (Beginner Python Course, Part 8)

📓 Notebook · pathlib · datetime · CSV

SQLite with Python for Beginners: SQL Databases in 1 Hour (Beginner Python Course, Part 9)55 min
Lesson 9

SQLite with Python for Beginners: SQL Databases in 1 Hour (Beginner Python Course, Part 9)

📓 Notebook · JSON · pathlib · SQLite

Python Functions & Modules for Reusable Code | Data Analytics #311 min
Lesson 3

Python Functions & Modules for Reusable Code | Data Analytics #3

📓 Notebook · datetime

Python Zero to Hero: The Complete Beginner-to-Advanced Course1 h 3 min
Lesson 2

Python Zero to Hero: The Complete Beginner-to-Advanced Course

📓 Notebook · datetime · regex (re) · unittest

Python for Beginners: From Variables to Real Mini Projects1 h 1 min
Lesson 4

Python for Beginners: From Variables to Real Mini Projects

📊 Dataset · 📓 Notebook · datetime · openpyxl · JSON

Python datetime Explained: Dates, Times & Time Zones | Standard Library #320 min
Lesson 3

Python datetime Explained: Dates, Times & Time Zones | Standard Library #3

📓 Notebook · datetime

Python json & csv Explained: Read and Write Data Files | Standard Library #818 min
Lesson 8

Python json & csv Explained: Read and Write Data Files | Standard Library #8

📓 Notebook · JSON · CSV · datetime

Build a Python CLI Tool from Scratch | Standard Library Capstone #2518 min
Lesson 25

Build a Python CLI Tool from Scratch | Standard Library Capstone #25

📊 Dataset · 📓 Notebook · argparse · dataclasses · pathlib

FastAPI Tutorial #13: JWT Authentication End to End16 min
Lesson 13

FastAPI Tutorial #13: JWT Authentication End to End

📓 Notebook · FastAPI · datetime

FastAPI Tutorial #18: Capstone — Production-Ready API
Lesson 18

FastAPI Tutorial #18: Capstone — Production-Ready API

📓 Notebook · FastAPI · SQLAlchemy · Pydantic

pytest Tutorial #4: Mocking & Monkeypatch
Lesson 4

pytest Tutorial #4: Mocking & Monkeypatch

📓 Notebook · unittest · pytest · datetime

Understanding Pandas Series and DataFrames: Essential Python Data Structures for Analysis12 min
Lesson 3

Understanding Pandas Series and DataFrames: Essential Python Data Structures for Analysis

📓 Notebook · NumPy · pandas · datetime

Scheduling Data Updates with Python29 min
Lesson 44

Scheduling Data Updates with Python

📊 Dataset · 📓 Notebook · pandas · NumPy · pathlib

07 Writing CSV, Excel, and JSON Files in Python13 min
Lesson 29

07 Writing CSV, Excel, and JSON Files in Python

📓 Notebook · CSV · openpyxl · JSON

Date and Time Basics in Python: Essential Skills for Data Science Beginners14 min
Lesson 31

Date and Time Basics in Python: Essential Skills for Data Science Beginners

📓 Notebook · datetime

Geospatial Analysis Case Study: Mapping and Visualizing Real-World Location Data14 min
Lesson 32

Geospatial Analysis Case Study: Mapping and Visualizing Real-World Location Data

📓 Notebook · pandas · Matplotlib · datetime

4 - Advanced Dash - Layouts, Callbacks, Hosting15 min
Lesson 36

4 - Advanced Dash - Layouts, Callbacks, Hosting

📓 Notebook · Dash · Plotly · pandas

Foundations of Time Series Analysis: Understanding Trend and Seasonality in Data16 min
Lesson 15

Foundations of Time Series Analysis: Understanding Trend and Seasonality in Data

📓 Notebook · pandas · Matplotlib · datetime

Building Supply Chain Dashboards with Streamlit18 min
Lesson 36

Building Supply Chain Dashboards with Streamlit

📓 Notebook · pandas · Streamlit · Matplotlib

Automating Banking and Finance Workflows with Python Job Scheduling19 min
Lesson 35

Automating Banking and Finance Workflows with Python Job Scheduling

📓 Notebook · pandas · NumPy · datetime

Mastering Date and Time Basics in Python | Week 03–04 Data Handling14 min
Lesson 40

Mastering Date and Time Basics in Python | Week 03–04 Data Handling

📓 Notebook · datetime

Scheduling Financial Data Updates for Automated Analytics25 min
Lesson 44

Scheduling Financial Data Updates for Automated Analytics

📊 Dataset · 📓 Notebook · pandas · yfinance · NumPy

Exporting Financial Reports with Python: Step-by-Step Training Guide28 min
Lesson 60

Exporting Financial Reports with Python: Step-by-Step Training Guide

📊 Dataset · 📓 Notebook · pandas · NumPy · yfinance

Frequently asked questions

Where should I start learning datetime?

Start with “Python Masterclass: Data Structures, OOP and Automation (Beginner Python Course, Part 4)”, then work through the Python Beginner Course course.

Are these datetime lessons free?

Yes. Every video, notebook and dataset on this site is free to use for learning.

Can I run the datetime notebooks without installing Python?

Yes. Open them in Google Colab, or use the Run in browser button where a lesson has one.