Replaced mktime() with time() call as per issue #36.