<?php
if (isset($_SESSION['usuario'])){
$user=$_SESSION['usuario'];
}
else{
?>
<script>
location.href="index.php?errorusuario=3";
</script>
<?php }

date_default_timezone_set("America/Mexico_City");
?>

<table width="900" border="0" align="center" bgcolor="#FFFFFF">
  <tr>
    <td>
	<div align="center">
  <p align="left" class="style7">Bit&aacute;cora de Accesos al Sistema  
  <hr color="#0D3356" size="1">
      <form action="main.php?a=83" method="post">
        <div align="center"><span class="style4">Fecha:</span>
               
                <input name="fecha6" class="calendar" type="text" id="datetimepicker" value="<?php echo date("Y-m-d");?>">
              </label>&nbsp;&nbsp;
            <input name="Submit2" type="submit" class="boton2" value="Consultar">
        </div>
      </form>
  <p>&nbsp;</p>
	</div>
	</td>
  </tr>
</table>
<script>

$('#datetimepicker').datetimepicker({
	lang:'es',
	timepicker:false,
	format:'Y-m-d',
	formatDate:'Y-m-d',
});

$('#datetimepicker2').datetimepicker({
	lang:'es',
	timepicker:false,
	format:'Y-m-d',
	formatDate:'Y-m-d',
});

</script>
