Question: What is the time interval specified by the following DateInterval object? $d 1 = new DateInterval ( ' PT 1 H 2 0 M 5

What is the time interval specified by the following DateInterval object?
$d1= new DateInterval('PT1H20M5S');
1.20 months, 1 hour and 5 seconds
2.1 hour, 20 minutes and 5 seconds
3.20 hours, 5 seconds, 1 minute
4.5 hours, 20 minutes and 1 second

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!