Can someone help explain how time(0) works ?

So I am making a program which requires a timer, were supposed to use srand(time(0)) and use time and make a timer that countdowns for 3 seconds,
the preferable way is to make it wait 1 second and for every second it counts down untill zero. I feel confident with the cout part of the programs, but I'm not so confident with the waiting and how time(0) works, much thanks to who ever can help me with my question.
Topic archived. No new replies allowed.