The Long Way
by in Coded Smorgasbord on 2014-05-01Sometimes, a developer just needs to take the long way around. Sure, a line of code like DateTime StartTime = DateTime.Now
looks simple and readable, but what happens if you want the StartTime variable to be not exactly now?
Craig’s co-worker figured out a better solution: