What would be the easy way of achieving such below? selected_date comes from django context as a python date :