human
Format time string in Python 3.3
assistant
Here is some code to format current date to pattern '{%Y-%m-%d %H:%M:%S}'

time.strftime('{%Y-%m-%d %H:%M:%S}')

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