Hi all,
I'm having some trouble working out how to do this; I've searched everywhere but as of yet no results have given the level of detail I require.
I need to calculate the difference in hours/minutes/seconds between a given date in the format: "29/06/2015 - 13:57:12" and the "NOW" function, however... to make the application clear; I'll give a brief description of the system I am trying to create:
1. Someone presses button "A". The date/time is recorded when the button is pressed, in the format: "dd/mm/yyyy - hh:mm:ss" i.e. 29/06/2015 - 14:01:12
2. I would like it so that when button "B" is pressed, the time that button "A" was pressed is given, as is the difference in hours/minutes/seconds between the time button "A" was pressed and the current time (i.e. 26:15:10, 26 hours, 15 minutes and 10 seconds)
I've tried everything but still cannot create a solution. If anyone can share any insight it would be much appreciated; thanks.
I'm having some trouble working out how to do this; I've searched everywhere but as of yet no results have given the level of detail I require.
I need to calculate the difference in hours/minutes/seconds between a given date in the format: "29/06/2015 - 13:57:12" and the "NOW" function, however... to make the application clear; I'll give a brief description of the system I am trying to create:
1. Someone presses button "A". The date/time is recorded when the button is pressed, in the format: "dd/mm/yyyy - hh:mm:ss" i.e. 29/06/2015 - 14:01:12
2. I would like it so that when button "B" is pressed, the time that button "A" was pressed is given, as is the difference in hours/minutes/seconds between the time button "A" was pressed and the current time (i.e. 26:15:10, 26 hours, 15 minutes and 10 seconds)
I've tried everything but still cannot create a solution. If anyone can share any insight it would be much appreciated; thanks.