Brad Abrams : Seconds since the Unix epoch in C#http://blogs.msdn.com/brada/archive/2004/03/20/93332.aspx how to get epoch time in .Net