<?php
$datetime1 = new DateTime();
$datetime2 = new DateTime('2013-01-03 17:13:00');
$interval = $datetime1->diff($datetime2);
echo "<pre>"; print_r($interval);
$elapsed = $interval->format('%y years, %m months, %a days, %h hours, %i minutes, %S seconds');
echo $elapsed;
- Output for 8.0.11
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.003801
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 8.0.10
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.003523
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 8.0.9
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.003404
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 8.0.8
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.007518
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 8.0.7
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.00341
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 8.0.6
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.003484
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 8.0.5
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.003349
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 8.0.3
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.009996
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 8.0.2
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.013673
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 8.0.1
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.003766
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 8.0.0
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.008417
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.24
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.003521
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.23
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.003581
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.22
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.00779
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.21
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.00663
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.20
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.003464
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.19
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.003123
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.16
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.00829
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.15
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.008312
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.14
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.008407
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.13
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.009129
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.12
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.01266
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.11
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.011613
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.10
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.008489
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.9
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.014453
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.8
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.009459
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.7
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.009076
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.6
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.000239
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.5
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.002155
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.4
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.003601
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.3
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.009817
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.4.0
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.000186
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.3.30
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.003274
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.3.29
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.010439
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.3.28
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.009184
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.3.27
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.008363
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.3.26
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.008545
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.3.25
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.012328
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.3.24
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.009033
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.3.23
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.009001
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.3.21
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.013149
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.3.20
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.009796
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.3.19
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.008731
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.3.18
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.004126
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.3.17
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.007937
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.3.16
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.008335
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.3.12
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.0002
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.3.1
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.000117
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.3.0
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.000134
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.2.33
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.009462
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.2.32
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.009625
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.2.31
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.011406
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.2.30
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.008488
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.2.29
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.008802
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.2.12 - 7.2.13
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 9.3E-5
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.2.11
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.000106
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.2.10
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.000105
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.2.9
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 8.9E-5
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.2.8
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 8.7E-5
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.2.7
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 8.8E-5
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.2.6
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.00018
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.2.5
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.000118
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.2.4
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.000129
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.2.3
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.000101
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.2.2
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.000107
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.2.1
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 9.6E-5
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.2.0
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 9.7E-5
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.1.25
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.000111
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.1.20
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.003795
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.1.10
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.003038
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.1.7
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.004927
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.1.6
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.012007
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.1.5
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.011038
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 7.1.0
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[f] => 0.006261
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 5.6.28, 7.0.14 - 7.0.20
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 20
[i] => 12
[s] => 7
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 20 hours, 12 minutes, 07 seconds
- Output for 5.3.27 - 5.3.29, 5.4.17 - 5.4.45, 5.5.0 - 5.5.36, 5.6.0 - 5.6.6, 5.6.8 - 5.6.22, 7.0.0 - 7.0.7
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 22
[i] => 12
[s] => 7
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 22 hours, 12 minutes, 07 seconds
- Output for 5.6.7
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 22
[i] => 12
[s] => 8
[weekday] => 0
[weekday_behavior] => 0
[first_last_day_of] => 0
[invert] => 1
[days] => 124
[special_type] => 0
[special_amount] => 0
[have_weekday_relative] => 0
[have_special_relative] => 0
)
0 years, 4 months, 124 days, 22 hours, 12 minutes, 08 seconds
- Output for 5.3.0 - 5.3.26, 5.4.0 - 5.4.16
- <pre>DateInterval Object
(
[y] => 0
[m] => 4
[d] => 4
[h] => 22
[i] => 12
[s] => 7
[invert] => 1
[days] => 124
)
0 years, 4 months, 124 days, 22 hours, 12 minutes, 07 seconds
- Output for 5.2.0 - 5.2.17
- Fatal error: Call to undefined method DateTime::diff() in /in/NdA7j on line 4
Process exited with code 255. - Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
- Fatal error: Class 'DateTime' not found in /in/NdA7j on line 2
Process exited with code 255. - Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.9
- Fatal error: Cannot instantiate non-existent class: datetime in /in/NdA7j on line 2
Process exited with code 255. - Output for 4.3.0 - 4.3.1
- Fatal error: Cannot instantiate non-existent class: datetime in /in/NdA7j on line 2
preferences:
192.74 ms | 401 KiB | 278 Q