When does XP start over

Searched but couldn’t find anything, I usually only play once in awhile when i get a chance, and since theirs a cap i figured if i could get in before midnight and then play and hopefully catch the new xp for the next day but I haven’t seen this happen. anyone know?