Whats is Meaning in Start 0 in DataFormatString = "{0:MM/dd}
Whats is Meaning in Start 0 in DataFormatString = "{0:MM/dd/yyyy}
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.
Manas MohapatraPosted Nov 27, 2016, 6:31 AM
String.Format("{0:MM/dd/yyyy}", dt);
Here 0 as first paramter as dt object which converts date time object to required format.