Agar khali time diya hai to date nikale
Find the date given time in php
<!DOCTYPE html>
<html>
<body>
<h1>My first PHP page</h1>
<?php
// find the data 4000hourse, 400minute , 40 sec
$seconds = 4000*60*60 + 400 *60 + 40;
$dates = $seconds + time();
echo date('d-m-y',$dates);
echo "<br>";
// find the data 22hourse, 120minute , 0 sec
$seconds = 22*60*60 + 120 *60 + 0;
$dates = $seconds + time();
echo date('d-m-y',$dates);
?>
</body>
</html>
Thanks you for commenting your questions. I will see question and respond you.