heheh i think i know how to do this
you use a function called time()
time() just returns the current date in seconds (really long number)
do something like this when they enter your website:
$time = time();
mysql:
create table mytable(time int unsigned);
in your php code, connect to the database and insert '$time' into the field 'time'
thats it!
now all your time is gonna be like: 268729263 or something like that
so to convert the time into human readable format use the php function called
date()
http://www.php.net/manual/en/function.date.php
hope that helped