Each tick is 0.05 seconds, so it's 20 ticks in a second.
I'll get back to you on the timings needed.
Right, assuming my maths is right, 0.83333... real life seconds = 1 minecraft minute. Of course, that isn't a nice number to try and put into a program, but 0.8 + (1/30) will give you that...