python中time实例

>>> time.strftime("%Y%m%d%H%M%S")
'20130327133007'

原文地址:https://www.cnblogs.com/seasonsstory/p/3115441.html