Conversation so far:
what was a cause of the spanish american war
The Spanish American War happened due to America's support of Cubans and Filipinos against Spain, and the explosion of U.S.S. Maine in Havana Harbor.
how long was the spanish american war
The Spanish American War lasted for 3 months, 3 weeks and 2 days.

Question: when did the war happen
Self-contained rewrite: when did the spanish american war happen