require_once('connectvars.php'); global $datemod; // Set the current date/time before updating the DB $datemod = date("y/m/d : H:i:s", Time()); ?>