DateTime dt = (DateTime)dtp.Value;
return dt.ToString("yyyy-MM-dd");
worked. Also thank you for including alternative as it will come in handy.↧
New Post: DateTimeUpDown Custom Format
↧
DateTime dt = (DateTime)dtp.Value;
return dt.ToString("yyyy-MM-dd");
worked. Also thank you for including alternative as it will come in handy.