Demos are usually not time-limited (like Trial software) but the functionality is limited. Trial software allows the user to evaluate the software for a limited amount of time. After that trial period (usually 15 to 90 days) the user can decide whether to buy the software or not.
Even though, most trial software products are only time-limited some also have feature limitations.