Converting DateTime.Ticks into a Unix timestamp in PHP

I needed a way to convert the number of ticks from the DateTime.Ticks property in .NET into a Unix timestamp in PHP. So I wrote up this solution that makes this possible. The solution works by taking the number of ticks that I want to convert into a Unix timestamp and subtracting it with the number of ticks of the Unix epoch. To figure out the number of ticks of the Unix epoch, I used C# (it is possible to do this in a different ....

November 30, 2010