python日期处理 wangguangji · 2013-12-25 15:55 · python · 编程语言 · Markdown def strToDate(dt): dt_date=datetime.date(int(dt),int(dt),int(dt)) return dt_date