Tahaeiali:
What operating system is installed on your system?
For what program do you want to make this calculation?
Are you interested in knowing who is using the program while you are away, or do you want to know how long you yourself have used the program?