使用
DateTime.ParseExact
this.Text="22/11/2009";DateTime date = DateTime.ParseExact(this.Text, "dd/MM/yyyy", null);
上一篇 警告:遇到非数字值
下一篇 如何在php中比较两个日期
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号