Python: working with the datetime module?

Example:

import datetime
The datetime module supplies classes to work with date and time.

Solution:

current_date = datetime.date.today()

Beginner's Guide to Python