The deadline for donations from each class will be July 31.
( ( ( The deadline ) ( for ( donations ( from ( each class ) ) ) ) ) ( ( will ( be ( July 31 ) ) ) . ) )
(ROOT (S (NP (NP (DT The) (NN deadline)) (PP (IN for) (NP (NP (NNS donations)) (PP (IN from) (NP (DT each) (NN class)))))) (VP (MD will) (VP (VB be) (NP (NNP July) (CD 31)))) (. .)))
Donations won't be accepted after the 31st of July.
( Donations ( ( ( wo n't ) ( be ( accepted ( after ( ( the 31st ) ( of July ) ) ) ) ) ) . ) )
(ROOT (S (NP (NNS Donations)) (VP (MD wo) (RB n't) (VP (VB be) (VP (VBN accepted) (PP (IN after) (NP (NP (DT the) (NN 31st)) (PP (IN of) (NP (NNP July)))))))) (. .)))