4
Answers

Changing date string

Photo of yokzu

yokzu

12y
2.4k
1
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)