i = 20190104a = 2019b = 1c = 4s = "%04d-%02d-%02d" % (a, b, c)
转:https://www.cnblogs.com/Stephen-Qin/p/11163717.html