I have watched the documentary titled “The Last Man on the Moon” which is a documentary about the life of the astronaut Eugene A. Cernan. I did not know that Gene Cernan and the geologist astronaut Harrison H. Schmitt spent 3 days on the moon during their Apollo 17 mission. I was under the impression that lunar stays were shorter.
You can find out exactly how long astronauts stayed on the moon and how many hours they worked on the surface each day from this web page
By the way, if you are interested, there is a 522 page government report on the NASA Apollo program
There is also a Wikipedia page