Parse date strings with strptime and print result with strftime