현재 날짜
import datetime
year = datetime.datetime.today().year
month = datetime.datetime.today().month
day = datetime.datetime.today().day
날짜 더하기
import datetime
year = datetime.datetime.today().year
month = datetime.datetime.today().month
day = datetime.datetime.today().day
today = datetime.datetime(year , month , day)
today_after_10 = today + datetime.timedelta(days=10)
날짜 빼기
import datetime
year = datetime.datetime.today().year
month = datetime.datetime.today().month
day = datetime.datetime.today().day
today = datetime.datetime(year , month , day)
today_before_10 = today + datetime.timedelta(days=10)