Fixed print of milliseconds from chrono

This fixes #1659.