Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
4-liner: strptime solution in Clear category for When is Friday? by przemyslaw.daniel
def friday(date):
from datetime import datetime
date = datetime.strptime(date, '%d.%m.%Y')
return (4-date.weekday()) % 7
May 15, 2018