In the US, states have until December 8th to deliver their election results, which is supposed to guarantee that all votes are counted. It’s called Safe Harbor Day, …

source