appstartcounter LifeTime property
Return to Introduction  Previous page  Next page
Applies to
acAppStartCounter component.  

property LifeTime: TDateTime; // read-only!  

The LifeTime property determines how long the program exists on user's PC since the date of first start (since InstallTime value).  
tip The LifeTime calculated as "Now - InstallTime". You can use this value to determinate how long the program was used and, for example, record it to some remote database when the application uninstalls.  

See also
Counter and InstallTime properties;  
ResetCounter method;  
OnFirstStart event.