DateTimeCoding.com This repo contains code for all date, time, and time zone tutorials published on DateTimeCoding.com. Blog Posts and Code Blog Post Code Check, count, and list leap years with Python Code How to get age of person (years old) with Python and datetime Code 5 ways to correctly convert local time to UTC time with Python Code Listing all time zones with Python and pytz Code 2 ways to humanize time differences with Python Code How to make reminders using datetime and Python Code 3 ways to add days, months, and years to datetime with Python Code Understanding timedelta objects in Python Code How to find difference between two datetime objects in Python Code 3 ways to convert Python datetime to Unix timestamp Code How to convert Unix timestamp into human readable date with Python Code How to convert datetime to seconds and milliseconds since Unix epoch in Python Code 3 ways to get Unix timestamp with Python Code 4 ways to translate an ISO 8601 string into a Python datetime object Code 8 ways to get current time with Python Code Comparing datetime objects with Python Code How to convert date to datetime in Python Code How to convert datetime to time with Python Code How to convert datetime to date with Python Code How to get day of week with Python and datetime Code How to manually create a datetime object with Python Code How to use Python’s datetime to get the current year and month Code 4 ways to get the current date and time using Python Code Difference between “aware” and “naive” datetimes in Python Code A high-level overview of Python’s datetime module Code Understanding the date, time, and datetime Python modules Code Getting current date and time with Python’s datetime.now() Code