python datetime模块和time模块 http://blog.csdn.net/kiki113/article/details/4033017http://hi.baidu.com/_yuan0518/blog/item/5ed3d0372444532d0a55a9ac.html