Write a python function to convert a user provided date to iso representation


Topic: Write a python function to convert a user provided date to iso representation

Solution

from datetime import datetime
def to_iso_date(d):
  return d.isoformat()



List all Python Programs