Explain a piece of code

Dear all,
Can anyone explain 2 lines for me? Thanks in advance.

G4int seconds =  time(NULL);
G4Random::setTheSeed(seconds);
1 Like

setTheSeed function use a random number for particle generation. time(NULL) return to current data. So, the program use current time as initial random seed.

Thank you for your answer.