<reponame>mudong1991/DevOpsApi<filename>firstapp/tests.py
# -*- coding:utf-8 -*-
# import win32api
# import win32con
# win32api.MessageBox(win32con.NULL, 'hello python!', 'hello', win32con.MB_OK)
import uuid
import datetime
import time
a = "2017-09-01 00:00:00"

# print time.mktime(time.strptime(a, '%Y-%m-%d %H:%M:%S'))
# print time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(1508816089))
print datetime.datetime.now()

# -*- coding:utf-8 -*-
# import win32api
# import win32con
# win32api.MessageBox(win32con.NULL, 'hello python!', 'hello', win32con.MB_OK)
import uuid
import datetime
import time
a = "2017-09-01 00:00:00"

# print time.mktime(time.strptime(a, '%Y-%m-%d %H:%M:%S'))
# print time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(1508816089))
print datetime.datetime.now()
# -*- coding:utf-8 -*- # import win32api # import win32con # win32api.MessageBox(win32con.NULL, 'hello python!', 'hello', win32con.MB_OK) # print time.mktime(time.strptime(a, '%Y-%m-%d %H:%M:%S')) # print time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(1508816089))