Now using current_time() to sync all time related functions with WordPress