Lines Matching refs:interval
16 $interval = $date1->diff($date2);
18 echo $interval->format('Y=%Y') . "\n";
19 echo $interval->format('M=%M') . "\n";
20 echo $interval->format('D=%D') . "\n";
21 echo $interval->format('H=%H') . "\n";
22 echo $interval->format('I=%I') . "\n";
23 echo $interval->format('S=%S') . "\n";
24 echo $interval->format('R=%R') . "\n";
26 echo $interval->format('y=%y') . "\n";
27 echo $interval->format('m=%m') . "\n";
28 echo $interval->format('d=%d') . "\n";
29 echo $interval->format('h=%h') . "\n";
30 echo $interval->format('i=%i') . "\n";
31 echo $interval->format('s=%s') . "\n";
32 echo $interval->format('r=%r') . "\n";
36 $interval = $date2->diff($date1);
38 echo $interval->format('inverted R=%R') . "\n";
39 echo $interval->format('inverted r=%r') . "\n";
43 echo $interval->format('%=%%') . "\n";
46 echo $interval->format('x=%x') . "\n";