1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| $tempoo = $tempo - 1800;
$dateactuelle=("Y-m-d H:i:s");
$datev = explode("",$dateobjectif);
$dateobjj = "".$datev['0'].$datev['1'].$datev['2'].$datev['3']."-".$datev['4'].$datev['5']."-".$datev['6'].$datev['7']." ".$datev['8'].$datev['9'].":".$datev['10'].$datev['11'].":".$datev['12'].$datev['13']."";
echo "<font class=\"Blanc\">E3 ".$dateobjj."</font><br>";
echo "<font class=\"Blanc\">E4 ".$datev."</font><br>";
$w = strtotime($dateactuelle);
$s = mktime($datev['8'].$datev['9'],$datev['10'].$datev['11'],$datev['12'].$datev['13'],$datev['4'].$datev['5'],$datev['6'].$datev['7'],$datev['0'].$datev['1'].$datev['2'].$datev['3']);
$s = strtotime($s);
//$s = date(YmdHis,$s);
echo "<font class=\"Blanc\">E5 ".$s."</font><br>";
//$tempo = strtotime($tempo);
echo "<font class=\"Blanc\">E6 ".$tempo."</font><br>";
$datefin = $s - $tempo;
$datefin = date("YmdHis",$datefin);
echo "<font class=\"Blanc\">E7 ".$datefin."</font><br>"; |
Partager