human
Getting today's date in YYYY-MM-DD in Python?
assistant
Here is some code to getting today's date in YYYY-MM-DD

datetime.datetime.today().strftime('%Y-%m-%d')

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