Hi,
I want to change date string. I am giving the code and output below;
DateTime.Now.ToString();
26.09.2012 11:25:20
But I want to change this output to "26.09.2012.11.25.20"
How can I do that?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Sep 26, 2012, 9:10 AM
string date = DateTime.Now.ToString("dd.MM.yyyy.HH.mm.ss");
yokzuPosted Sep 28, 2012, 2:55 AM
Santhosh Kumar JayaramanPosted Sep 26, 2012, 4:33 AM
FroglegPosted Sep 26, 2012, 4:32 AM