I came across a script that has the following:
$utime=time(); $exptime=$utime-10; // (in seconds)
Is the $exptime really in seconds?
Yes. time() returns the current unix timestamp, and a unix timestamp is an integer that represents the number of seconds since 01/01/1970 00:00:00