MattWoberts
Programmer
Hi.
I always want my dates to be in the format of "dd-MMM-yyyy". Can I set a default format for "toString" in my DateTime objects, rather than doing dtmDate.ToString("dd-MMM-yyyy" all over the code?
The only solution I can think is to create my own DateTime, and inherit from DataTime, and add my own ToString overload... there must be an easier way!!!
I always want my dates to be in the format of "dd-MMM-yyyy". Can I set a default format for "toString" in my DateTime objects, rather than doing dtmDate.ToString("dd-MMM-yyyy" all over the code?
The only solution I can think is to create my own DateTime, and inherit from DataTime, and add my own ToString overload... there must be an easier way!!!