The Battle of Shiloh was fought on April 6–7, 1862, during the American Civil War in southwestern Tennessee.

Because your question is very straightforward, that’s the essential fact you’re looking for: it began on April 6, 1862, and concluded the following day, April 7, 1862.