Re : Compteur temps
encore plus compact !
Cordialement
encore plus compact !
Cordialement
date('d-m-Y',strtotime("+60 hour"));
if ( (date('N') == 4)||(date('N') == 5 )) date('d-m-Y', strtotime("next monday"));
if ( (date('N') >= 1)&&(date('N') < 4 )) date('d-m-Y',strtotime("+66 hour"));
if ( (date('N') == 6)||(date('N') == 7 )) date('d-m-Y', strtotime("next wednesday"));
if ( (date('N') == 5 ) date('d-m-Y', strtotime("next monday"));
if ( (date('N') >= 1)&&(date('N') < 5 )) date('d-m-Y',strtotime("+55 hour"));
if ( (date('N') == 6)||(date('N') == 7 )) date('d-m-Y', strtotime("next wednesday"));
if ( (date('N') == 5 ) $datereception = date('d-m-Y', strtotime("next monday"));
if ( (date('N') >= 1)&&(date('N') < 5 )) $datereception = date('d-m-Y',strtotime("+55 hour"));
if ( (date('N') == 6)||(date('N') == 7 )) $datereception = date('d-m-Y', strtotime("next wednesday"));
if ( date('N', strtotime( $datereception )) == 7 ) $datereception = date('d-m-Y', strtotime("next monday"));
echo $datereception;
Commentaire