- 1
- 2
string indate = "01/" + ("0" + CalcActDatePicker.Value.Date.Month.ToString().Trim()).Substring(CalcActDatePicker.Value.Date.Month.ToString().Trim().Length - 1)
+ "/" + CalcActDatePicker.Value.Date.Year.ToString().Trim();