<?php
$starttime='1999-12-30T16:30:00';
echo $starttime . "\n\r";
echo 'start: ' . date('H:i:s', strtotime($starttime)) . "\n\r";
echo "\n\r";
$end = '1999-12-30T16:45:00';
echo $end . "\n\r";
echo 'end: ' . date('H:i:s',strtotime($end));
//date_default_timezone_set('America/New_York');
$starttime='1899-12-30T16:30:00';
echo $starttime . "\n\r";
echo date('H:i:s', strtotime($starttime)) . "\n\r";
- Output for 5.0.0 - 5.0.5, 5.2.6 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.37, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- 1999-12-30T16:30:00
start: 16:30:00
1999-12-30T16:45:00
end: 16:45:001899-12-30T16:30:00
16:30:00
- Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.5
- 1999-12-30T16:30:00
start: 16:30:00
1999-12-30T16:45:00
end: 16:45:001899-12-30T16:30:00
01:00:00
- Output for 4.3.5 - 4.3.11, 4.4.0 - 4.4.9
- 1999-12-30T16:30:00
start: 00:30:00
1999-12-30T16:45:00
end: 00:45:001899-12-30T16:30:00
23:49:32
- Output for 4.3.0 - 4.3.4
- 1999-12-30T16:30:00
start: 10:30:00
1999-12-30T16:45:00
end: 10:45:001899-12-30T16:30:00
09:49:32
preferences:
283.94 ms | 401 KiB | 393 Q