Not sleeping through the night

My child is 19 months and since she was born she never slept through the night. I put her to bed at 10pm and she’ll wake up at 4am and won’t go back to sleep until 9am and then wake up again again at 1 pm and then she’ll go to sleep at 5pm for like 30- to a hr. Is there a way to get her to sleep 12 hours I never struggled this much with my first. Sometimes I try gt get her not to sleep when it’s 5pm but she get mad and starts yelling.