What if you take 20mg adderall xr at 300pm and you take another adderall xr 20mg at 700pm will the two last 24 hours?

You may feel after effects for 24 hours, but the major effect will be over 8 hours or so after the second dose. Mabe slightly longer since they're XR