You're using PHP's `time()`. You should either use MySQL's `NOW()` function or WP's `current_time()`?