agileotter

A Personal Note on the Passing of my Father

I usually don't put anything deeply personal on this blog, but today I make an exception.For three years after his massive stroke, my dad was severely handicapped and struggled with his reduced mental and physical capacities, recurrent illnesses and infections, and the inability to eat or drink except through an abdominal tube. As a strong, stubborn, self-reliant man whose habit was to dig in and work hard instead of receiving aid, it...

mikehadlow.blogspot.com mikehadlow.blogspot.com

Converting Between Unix Time And DateTime

Unix time is the time value used in Unix based operating systems and is often exposed by Unix based APIs. To convert it to, or from, a .NET System.DateTime simply calculate the number of seconds since the Unix Epoch, midnight on the 1st January 1970. I’ve created a little class you can use to do just that. Note that the Unix Epoch is UTC, so you should always convert your local time to UTC before doing the calculation. public class...