Basics to fix day time offset when printing hh:mm:ss. Not solved yet, though.