- date_default_timezone_set: documentation ( source)
- date: documentation ( source)
- strtotime: documentation ( source)
<?php
$starttime='1899-12-30T16:30:00';
echo date('H:i:s', strtotime($starttime));
echo '<br />';
date_default_timezone_set('America/New_York');
$starttime='1899-12-30T16:30:00';
echo date('H:i:s', strtotime($starttime));