Date and Time Python (Stuck)
<p>I am Python beginner. I have a question about Date and time code:</p>

<pre><code>import datetime
date = datetime.date.today()
print(date.strftime('date is %d%b,%Y'))
</code></pre>

<p>Now I want to print the date of my own choice. How can I do it? </p>

<p>For example, if today's date is (15 sep 2016) and I want to print (23 oct 1998), what should I do in order to make it work?</p>

<p>If you needed to take a string value as input you can use</p>

<pre><code>from dateutil import parser

datestring = "23 Oct 1998"
customDate = parser.parse(datestring)

print(customDate.strftime('date is %d%b,%y'))
</code></pre>

python