Help with LEDs on model railway project

{
 modelClock.stamp = currentTime;
if (modelClock.stamp = 5,0)
  {
    digitalWrite(LED1, HIGH);  
    }

I think you mean something like this, do you? Sorry, i really don't mind if you want to explain to me like i'm 5 ...I'm lost as to which part to reference..