It depends on how complex you want to make it. Here are a few of your options:
1. You can save the install date and then check when 30 days has elapsed in the application, but the user can always change the computer date.
2. You can get the date from an external server.
3. You can modify your application so instead of a time limit, it limit's features. (recommended)
Hope this helps
-Josh