This is simpler than you believe, leap units are not an
issue.
Just find the Microsoft timestamp value for the origin
of whatever timestamp type you want. Substract this constant
from the value and multiply by the correct factor for the
conversion. Think centigrade to/from Fahrenheit.