You’re looking for wp_cron
if ( ! wp_next_scheduled( 'my_task_hook' ) ) {
wp_schedule_event( time(), 'daily', 'my_task_hook' );
}
add_action( 'my_task_hook', 'my_task_function' );
And then you define my_task_function()
updating the post date.