Automatic calculate today_tp.