This commit is contained in:
yumoqing 2020-09-26 21:55:13 +08:00
commit 92c5c8e21c

View File

@ -12,6 +12,10 @@ def curDateString():
d = curDatetime()
return '%04d-%02d-%02d' %(d.year,d.month,d.day)
def curTimeString():
d = curDatetime()
return '%02d:%02d:%02d' %(d.hour,d.minute,d.second)
def timestampstr():
d = curDatetime()
return '%04d-%02d-%02d %02d:%02d:%02d.%03d' % (d.year,