Invoice date restriction

Invoice date restriction

Is it possible to restrict Invoice date?

I want the users who create new invoices can not create invoices for the past.  This menaas a user can not create an invonice with a date in the past.

How could Inrestricti ti?

Thanks