title: How to alert a user before items get expiry?
body: <p>I've been given a small task that,</p>
  
  <p>Every time if a user logs into his account, An alert or a message should display that these are the items which are going to expire in these many days or similar to that.</p>
  
  <p>I am storing created date and expiry date into database and even showing the expiry date of the item to the user.</p>
  
  <p>How to do this task in javascript or jquery??</p>
  
  <p>If javascript then how?</p>