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
X.ToString("M/d/yy")
is what you need