Hi All<br><br>I was going through this link <a href="http://docs.python.org/library/datetime.html#strftime-strptime-behavior">http://docs.python.org/library/datetime.html#strftime-strptime-behavior</a>.<br>I practised strftime() and strptime() functions.<br>
<br>Finally i stuck into a situation where  i want to get the datetime object so that i can save it in my db.<br>What i want is :-<br><br>I have a string let say <br>date_created = '11 May Friday PM '<br><br>and i want to convert it into datetime object like this datetime.datetime(2012, 5, 11, 4, 12, 44, 24734)<br clear="all">
<br>Thanks in advance. Any help will be appreciated<br><br>-- <br>Regards<br>Nikhil Verma<br>+91-958-273-3156<br><br>