If your date and time battery needs to be replaced, follow this guide to replace it. The required date and time battery is a CR2016 lithium.
Canon EOS 40D Date and Time Battery Replacement - iFixit Repair Guide
Canon EOS 40D - iFixit
Canon EOS 40D LCD Replacement - iFixit Repair Guide
Canon EOS 40D Date and Time Battery Replacement - iFixit Repair Guide
CANON EOS40D DS126171
Canon Camera Repair - iFixit
Nikon D3500 vs. Canon T7: Which is better?: Digital Photography Review
Canon EOS 40D Shutter Assembly Replacement - iFixit Repair Guide
Canon EOS 40D Review - PhotographyBLOGPhotography Blog
Canon EOS 40D Date and Time Battery Replacement - iFixit Repair Guide
Canon EOS 40D - iFixit
Canon EOS 40D Shutter Button Replacement - iFixit Repair Guide
Canon-Eos-40D-Service-Manual-Repair-Guide by Anh Tran - Issuu
Canon EOS 40D - iFixit
CANON EOS40D DS126171