controle des dates + System.out.print