37,720
社区成员
发帖
与我相关
我的任务
分享
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> import time
>>> time.strftime('%Y%m%d', time.localtime())
'20120824'
>>>