How can I "trim" a value of a DateTime
property in c#?
For example, when I get a date it is of the format "10/1/2010 00:00:00".
How can I "trim" 'Time' 00:00:00 without converting this to a String?
Since I use a property of type DateTime
to manipulate this, I don't need to convert to String.
Any help is appreciated.