get only the day from python date module code example
Example: python date get day
import datetime
dt = datetime.datetime.today()
year = dt.year
month = dt.month
day = dt.day
import datetime
dt = datetime.datetime.today()
year = dt.year
month = dt.month
day = dt.day