<?php session_start(); $_SESSION["Fecha"] = date("Y-m-d"); $_SESSION["tiempo"] = date("H:i:s"); //haces el query y cuando insertes insertas con el valor asi $_SESSION["Fecha"] $_SESSION["tiempo"] ?>