会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
搬砖的L先生
博客园
首页
新随笔
联系
订阅
管理
2020年9月3日
C#时间与String转换
摘要: //将含有正确日期格式的string类型转换成DateTime类型 string strDate = "2014-08-01"; DateTime dt1 = Convert.ToDateTime(strDate); //将包含时分秒的string类型日期转换成DateTime类型 string s
阅读全文
posted @ 2020-09-03 11:32 搬砖的L先生
阅读(441)
评论(0)
推荐(0)
公告