Possible duplicate:
.NET DateTime Day format without a null value
Is there any way to remove leading zeros in date format
For example, X.ToString("MM/dd/yy") returns 07/02/11, but I would like 7/2/11 to return instead.
Is it possible?
thank
tostring date c #
Evan Layman Jul 25 '11 at 18:27 2011-07-25 18:27
source share