SUBHALAXMI SAHOO
Query: 2 / Answer: 1

09th Feb 2020 .

How to Get time difference between two times in PHP ??


Answers

SUBHALAXMI SAHOO
Query: 2 / Answer: 1

09th Feb 2020 .

$to_time = strtotime("2008-12-13 10:42:00");
$from_time = strtotime("2008-12-13 10:21:00");
echo round(abs($to_time - $from_time) / 60,2). " minute";

  •  Information
  • About Forum

    This educational forum is produly developed by betaQsolutions-A leading software company in Odisha. This forum is developed to discuss the educational topics only betweeen the Students, teachers, Parents & Experts. Topic related to Career, Syllabus, Subjects, Questions, Exams etc are allowed to discuss here.

  • Statistics

    Total topics 43 • Total Query 1114 • Total members 247 • Total Answered 1285