Convert.ToDateTime(tbinpici.Text).ToString("yyyyMMdd") 转载于:https://www.cnblogs.com/yubufan/p/5140176.html