Issue #1239410 by cangeceiro, swentel, jbrown: Fixed watchdog() should use php's time() to log time of event.