from datetime import datetime as d
print('Happy belated {}th birthday!'.format(int((d.utcnow()-d.strptime('05Jun1973','%d%b%Y')).days/365)))
Post
June 7, 2017
June 7, 2017
from datetime import datetime as d
print('Happy belated {}th birthday!'.format(int((d.utcnow()-d.strptime('05Jun1973','%d%b%Y')).days/365)))