本文介绍了简单的日期选择器以包含在表单字段中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Good day程序员,
我想问一下,如何在表单中包含日期选择器(Y-m-d)格式,以便可以将数据直接保存在mySQL数据库中.例如,我希望用户
根据合同将其服务的开始日期和结束日期插入公司.
预先感谢您的帮助,并感谢您花费时间为我提供帮助.
Good day Programmers,
I would like to ask, how can I include a date picker (Y-m-d) format in my form so that the data can directly saved inside mySQL database.For example I would like the user to
insert the start date and the end date of their service in the company according to their contract.
Thank you in advance for your help and spending your time helping me.
推荐答案
CultureInfo en = new CultureInfo("en-US");
Thread.CurrentThread.CurrentCulture = en;
这篇关于简单的日期选择器以包含在表单字段中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!