Hi,
Do the following
string Date = DateTime.Now.ToString("dd-MM-yyyy");
string Time = DateTime.Now.ToString("hh:mm:ss");
Please do let me know, if you have any doubt.
Please provide "
Vote" if this would be helpful, and make "
Accept Answer" if this would be correct answer.
Thanks,
Imdadhusen