There are enough x++ date and time functions to do just about anything, but sometimes they can make simple tasks fussy, and lack precision. I was investigating how to bring in [at least] milliseconds into my my timestamps, and ran across the DateTime struct and its methods.
Not only does it make a lot of date components easily accessible, but it has the day of year, millisecond, and tick measures of time. It's the little things.