C# ToString("MM/dd/yy") remove leading 0's

Viewed 21417

Possible Duplicate:
Format .NET DateTime “Day” with no leading zero

Is there a way to remove the leading zeros in the date format

For example, X.ToString("MM/dd/yy") returns 07/02/11 but I'd like it to instead return 7/2/11.

Is this possible?

Thanks

5 Answers
Related