On Thu, Aug 30, 2012 at 8:03 PM, Ramchandra Apte <maniandram01 at gmail.com> wrote: > Sorry you should use datetime.strptime > It was failing that is why I asked here. Managed to do this using dateutil package in the most simple way. Kushal -- http://fedoraproject.org http://kushaldas.in