PHP Runtime warning

eliminate possibility of php runtime warning about using mktime() without parameters instead of time()

fixes issue #820