Epidemiologists use various data sources and mathematical models to determine safe dates. These models often incorporate factors such as the incubation period of the disease, the infectious period, and the effectiveness of public health interventions. Additionally, data on contact tracing and testing rates are analyzed to identify periods when the risk of transmission is low.