How do the pee stick ovulation tests work?

If there are double lines does it mean you’re ovulating that day or does it mean you’ll be ovulating in 24 hrs?