Millis() to hours, minutes, seconds, and milliseconds

Thank you,
I attempted to implement your solution in the following manner, but the time exceeds the condition of the if statement at the bottom and does not toggle the LED on. I added the if statement to show what I'm trying to do with the time information.

 unsigned long currentMillis = millis();       //unsigned long
 unsigned long seconds = currentMillis / 1000; //unsigned long
 unsigned long remainder = currentMillis -(seconds * 1000); //added 11/27/2021
 unsigned long minutes = seconds / 60;         //unsigned long
 unsigned long hours = minutes / 60;           //unsigned long
 unsigned long days = hours / 24;              //unsigned long
 //currentMillis %= 1000;
 seconds %= 60;
 minutes %= 60;
 hours %= 24;
 
   if(minutes == 3 && seconds == 36 && remainder == 476)
      {
       digitalWrite(ledPin, HIGH);
      }

Blockquote