时间戳转为时间戳

ltime = time.localtime(todayStamp)
    timeStr = time.strftime("%Y-%m-%d", ltime)
    # print datetime.datetime.fromtimestamp(todayStamp)
http://www.wklken.me/posts/2015/03/03/python-base-datetime.html

 

posted @ 2017-02-10 14:49  webbky  阅读(200)  评论(0编辑  收藏  举报