I think these code something confused ,
foreach (FileInfo FI in FileList)
{
DateTime filedat = FI.CreationTime.Date;
DateTime filedate = Convert.ToDateTime(filedat);
string fidate = filedate.ToString(format) ;
DateTimePicker filedatepkr = new DateTimePicker();
filedatepkr.Text =Convert.ToString(fidate) ;
So i want to suggest ,following code
foreach (string F in FileList)
{
DateTime filedat = FI.CreationTime.Date;
DateTime filedate = Convert.ToDateTime(filedat);
string fidate = filedate.ToString(format);
DateTimePicker filedatepkr = new DateTimePicker();
filedatepkr.Value = DateTime.Parse(fidate)
It may be helpful
Theingi Win