The word from the sentence that is the direct object is the NP "time". The direct object is a noun phrase denoting a person or thing that is the recipient of the action by a transitive verb. In this case, the transitive verb <em>spent on</em> takes the following NP complement "more time on military projects". That is the complete NP taken as the direct object by the verb.