from datetime import datetime
import time


utc = time.time()
time = datetime.datetime.utcfromtimestamp(utc).strftime(%Y-%m-%d)
print(time)
실행결과
2017-04-24