human
How to convert a date string to different format
assistant
Here is some code to how to convert a date string '2013-1-25' in format '%Y-%m-%d' to different format '%m/%d/%y'

datetime.datetime.strptime('2013-1-25', '%Y-%m-%d').strftime('%m/%d/%y')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.