From 9e7575d009d922eed38e7e8605d1c0cbe78e1e39 Mon Sep 17 00:00:00 2001 From: David Lee <913305994@qq.com> Date: Tue, 29 Nov 2016 08:34:00 +0800 Subject: [PATCH] Add files via upload --- ...\240\274\345\274\217\345\214\226\346\227\266\351\227\264.py" | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 "\346\240\274\345\274\217\345\214\226\346\227\266\351\227\264.py" diff --git "a/\346\240\274\345\274\217\345\214\226\346\227\266\351\227\264.py" "b/\346\240\274\345\274\217\345\214\226\346\227\266\351\227\264.py" new file mode 100644 index 0000000..5eb284b --- /dev/null +++ "b/\346\240\274\345\274\217\345\214\226\346\227\266\351\227\264.py" @@ -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'])))