in reply to converting microsoft timestamps

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.

You might have to unpack and repack the values.

Be well.