This Should be the answer to your question
The Battle of Shiloh took place in Tennessee on April 6–7, 1862. The Battle of Shiloh got its name from the two battles that took place during the conflict. The first battle was fought between the Union Army and the Confederate Army on April 6, 1862, and lasted for about 5 hours. The second battle took place on the following day and lasted for about 24 hours. At the end of the second day, the Union had won the battle, but had suffered a high number of casualties.
Hope this Helps