日期时间格式化

 

date, datetime, and time objects all support a strftime(format) method, to create a string representing the time under the control of an explicit format string. the sdate, datetime, and time trptime() class method creates a object from a string representing a date and time

 

posted @ 2014-11-05 15:39  赵翔  阅读(108)  评论(0编辑  收藏  举报