It's very close to 20 ticks per second. When it's not you get "Can't keep up! Did the system time change, or is the server overloaded?". Since the day time duration is dependent on the tick duration it should be pretty accurate unless your day is naturally much longer than 20 minutes.