Head noun: time
Postmodifier: with friend

Same concepts