4
Answers

Changing date string

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?

Answers (4)