Skip to content

Glossary: Python Basics

date

Also written: datetime, date.today()

A type from the `datetime` module that represents a calendar day. You can read `.year`, `.month` and `.day`, and subtract two dates to get the gap.

Where the book teaches it

Related terms

strftime