Handle correctly seconds in the nice_date subroutine