Lines Matching refs:interval
18 $interval = $date1->diff($date2);
20 echo $interval->format('Y=%Y') . "\n";
21 echo $interval->format('M=%M') . "\n";
22 echo $interval->format('D=%D') . "\n";
23 echo $interval->format('H=%H') . "\n";
24 echo $interval->format('I=%I') . "\n";
25 echo $interval->format('S=%S') . "\n";
26 echo $interval->format('R=%R') . "\n";
28 echo $interval->format('y=%y') . "\n";
29 echo $interval->format('m=%m') . "\n";
30 echo $interval->format('d=%d') . "\n";
31 echo $interval->format('h=%h') . "\n";
32 echo $interval->format('i=%i') . "\n";
33 echo $interval->format('s=%s') . "\n";
34 echo $interval->format('r=%r') . "\n";
38 $interval = $date2->diff($date1);
40 echo $interval->format('inverted R=%R') . "\n";
41 echo $interval->format('inverted r=%r') . "\n";
45 echo $interval->format('%=%%') . "\n";
48 echo $interval->format('x=%x') . "\n";