How long does it take from Amsterdam to groningen by train?

Hello. About 2,5 hours.