注意上述返回的是本地时间
:这个是将当前时间转换为时间戳。
gmtime:将时间戳转换成struct_time格式。
strftime:将时间对象转换成指定的字符串格式。
strptime:将字符串格式转换成struct_time格式。
print(time.strftime("2016-01-28 15:40","%Y-%m-%d %H:%M"))