Error!
Success!

Rounding a DateTime object to a defined number of minutes

0
kicks

Rounding a DateTime object to a defined number of minutes  (Unpublished)

ounding a DateTime up (or down) to the nearest number of minutes seems a simple requirement but is surprisingly unintuitive due to the relationships and different properties of DateTime and TimeSpan classes. I've come across some pretty dreadful examples on the web, so thought I'd post a much simp...


Kicked By:
Drop Kicked By: