unix_timestamp() gives the correct replacement for PHP time() function
Merge pull request #245 from drbyte/race-cond

use correct timestamp function name