---
title: "python日期处理"
author: "wangguangji"
date: "2013-12-25T15:55:25Z"
tags: []
categories: ["编程语言"]
slug: "python"
draft: false
lastmod: "2013-12-25T15:55:09Z"
id: 1995366
url: "https://wangxingrang.iteye.com/blog/1995366"
---

def strToDate(dt):
    dt_date=datetime.date(int(dt),int(dt),int(dt))
    return dt_date