-4

Possible Duplicate:
format date in c#

C# How do we format date like so,

I want the date to start with the year/month/date, etc

Community
  • 1
  • 1
Safi
  • 55
  • 8
  • StackOverflow has a "related questions" sidebar at the right. The very first one answers your question. Did you try to search before asking? – Jon Mar 20 '12 at 09:42
  • before ask please try to find a solution. – giammin Mar 20 '12 at 09:48

1 Answers1

2

DateTime.Now.ToString("yyyy/MM/dd")