Expire in 90 days

Need a formula code that will tell me when a license will expire in 90 days. I have a field that has the expiration date.

Subject: Expire in 90 days

diff:=(DateExp - @today) / 60 / 60 / 24;@if(diff<=90;“will expire in 90 days”;“ok”)