According to
RailEurope, it's just about 6 hours give or take about 15 minutes.
How long will you be in
Germany? Here are some links that may be of interest to you on your travels.
Things to do in Germany Transportation in Germany Berlin Day Trip Berlin Wall