Please could someone help me out with how to calculate time difference start time and end time using system time automatically. Thats, the start time and end time are used automatically when the person logs in and out respectively using the person's system clock as the inputs. The difference betwen the two times are then calculated and stored/saved in a file located somewhere as log.
This has been giving me too much headaches and would be glad to get over it, code snippets would be very lovely if anyone has any. Best regards to all :)
