saludos amigos tengo un problema al tratar de mostrar la hora actual si son las 03:00:00PM me muestra 02:30:00PM en mi server lo tengo configurado date_default_timezone_set('America/Caracas');
Código PHP:
Ver original<?php
$hora = new Datetime($linea['hora']);
$linea['hora'] = $hora->format("h:i:sA");
?>
<div class="col center s12 m12 center-align">
<h4 class="center-align black-text heading wow fadeInUp BLACK">Hora Actual: <?php echo $linea['hora']; ?> </h4>
</div>
Código PHP:
Ver original<?php
?>
<input type='hidden' name='hora' value='
<?php echo date('h:i:sA'); ?>' />