A Date With the Datetime Module in Python | Part 1
How to get current date with month, year and day using Python
Published in
2 min readOct 25, 2022
We can extract current date using 2 classes.
- Using
date
class
from datetime import datetoday = date.today()
- Using
datetime
class