import datetime
print(datetime.date.today().strftime('%d/%m/%Y'))
mDate = datetime.date(1966,4,18)
print(mDate.strftime('%m/%d/%Y'))
mDateNextDay = mDate + datetime.timedelta(days=1)
print(mDateNextDay.strftime('%m/%d/%Y'))
mFirstBirthday = mDate.replace(year=mDate.year+60)
print(mFirstBirthday.strftime('%d/%m/%Y'))
沒有留言:
張貼留言