Sometimes it's easier when debugging to just dump some variable out to the browser to see what it's contents are, even if you are using a debugger, especially when the debugger - as it's wont to do - acts flaky and doesn't stop on breakpoints.more
I was working my way mentally through a little side project for work this morning, and I came up with an interesting puzzle: How can you compute the number of workdays left between two dates?more
Page: