会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ChaunceyWan
博客园
首页
新随笔
联系
订阅
管理
2019年12月6日
C#时间格式问题解决,不受系统时间格式影响
摘要: 陆陆续续写了几个程序,批量导入之后总会遇到这么几台报错的,然后一看就发现是车间设备系统时间格式不同。 所以,本着为现场排忧解难的态度(其实就是懒),格式化时间好了。 代码附上: if (DateTimeFormatInfo.CurrentInfo != null) { var type = Date
阅读全文
posted @ 2019-12-06 09:17 ChaunceyWan
阅读(479)
评论(0)
推荐(0)
编辑