use time() instead of mktime()

As of PHP 5.1, when called with no arguments, mktime() throws an E_STRICT notice: use the time() function instead.
Merge pull request #1 from Spone/patch-1

use time() instead of mktime()