strftime()是把时间转成规定格式的字符串
strptime()是把字符串转成时间
转载:http://blog.csdn.net/caimouse/article/details/50198695