According to NHSN criteria, what is the minimum timeframe after hospital admission before an infection is classified as a healthcare-associated infection (HAI)?