Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
BuglessCoder authored Nov 29, 2016
1 parent aa241a9 commit 9e7575d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 格式化时间.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
t={'year':'2013','month':'9','day':'30','hour':'16','minute':'45','second':'2'}
print('%04d-%02d-%02d %02d:%02d:%02d' % (int(t['year']),int(t['month']),int(t['day']),int(t['hour']),int(t['minute']),int(t['second'])))

0 comments on commit 9e7575d

Please sign in to comment.