In the US, by both the Constitution and by law implementing the Constitutional design, a candidate doesn't win or lose an election until the EC vote has finished counting by the joint session of Congress.
There's not really a day of election of president in the US since the EC election process lasts a little while with a few different steps. It takes a little bit of time, again by law.
One unfortunate thing was that all too many politicians and reporters were flat out denying that these laws existed even as they were being implemented and even as they are perfectly accessible to anybody who knows where to look them up.
Such people really did a disservice to the general public, and I only had to laugh when recently some politicians were bragging about making reforms two laws that they previously seemed to say didn't exist in the first place.