The amount of days given to try are normally around 30 days but it could be shorter or longer depending on the author of the software. The first one is the demo version with limited or crippled functionality that doesn’t have an expiry date and another type is the fully functional trial version that expires after a certain period of time. Normally there are two types of restrictions for shareware.