Respuesta :

Answer:

The code is given using Python

Explanation:

#datetime to be import

from datetime import datetime

#function convert_format to convert_format date to particular format

def convert_format():

#take date from user input

inputDate = input('Enter a date(mm/dd/yyyy): ')

#using datetime convert to format month day year

dateObject = datetime.strptime(inputDate, '%m/%d/%Y')

#print the date

print(dateObject.strftime('%B %d, %Y'))

#function call

convert_format()

Otras preguntas