fromTicks (http://csharppad.com/gist/9757644)