Formula for UTC to MTC conversion should work

I didn't test it but it compiles and I'm pretty confident about the code
(Noah helped me a bit)