On Aug 14, 9:08 am, Bob <nospam...@nospam.com.auwrote:
Is there a simple way of suppressing the fractional part of a timespan
Which fractional part? Fractions of a day, fractions of an hour,
fractions of a minute, fractions of a second?
At the moment I use one time span to populate another minus the fractional
part .. this is a bit clunky.
Just put that in a utility method somewhere and it should be fine.
Once you're using C# 3 you can use extension methods to make it *look*
like it's part of the DateTime type :)
Jon