Parse date string and change format datetime module could help you with that: For the specific example you could do