I need to show in my software the amount of days, hours and minutes that a particular event occurred.
I get a string with the value of the last event and calculating the amount of time that the event occurred.
..
lastEvent: String = lastEventOcorr (); "16.07.2013 19:20:06"
..
example:
Last event occurred: 3 Days 6 Hours 45 Minutes and 42 Seconds
or
Last event occurred: 5 Minutes 30 Seconds
..
There is a practical way to do this calculation?
I really appreciate all the help.
Thank you very much