44. Python Program to Accept a Date and Print in Words.
How does this program work?
- In this program we are going to learn about how to accept a date and print it in words using Python.
Here is the code
import datetime
dt_date = datetime.datetime.now()
print ("The Current date is:" ,dt_date)
print("In specified format:", dt_date.strftime("%A, %d %b %Y"))