Diferencia hora servidor
# Offset Calculator 1.1.1
# http://www.jholman.com/scripts/offset/
# Copyright © 2003-2004 Jeff Holman
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# See license.txt for the terms of the GNU GPL.
#
# See help.html for installation and usage instructions.
?>
if ($_POST['submit']) {
$offset = round(((mktime($hour, $minute, $second, $month, $day, $year) - mktime())/(3600)),0);
?>
Necesitas modificar la hora del servidor echo $offset; ?>
horas para que sea igual a la hora local.
(Hora Servidor + echo $offset; ?> = Hora Local)
[Volver]
exit();
}
$server['y'] = date('Y') + 0;
$server['m'] = date('m') + 0;
$server['d'] = date('d') + 0;
$server['h'] = date('H') + 0;
$server['i'] = date('i') + 0;
$server['s'] = date('s') + 0;
?>
Offset Calculator 1.1.1