The day to sleep is Saturday. The 'To sleep' infinitive phrase functions as?

The day to sleep is Saturday. The 'To sleep' infinitive phrase functions as?

Explanation

The infinitive phrase "to sleep" is modifying the noun "day", telling what kind of day.

Since it describes or qualifies a noun, it functions as an adjective.