easy question on handling date/time
Posted on 2001-06-20
is there any procedure/function in delphi which returns the seconds after a specific time? (e.g. how many seconds are between 01.01.1990, 12:00:00 and today?)
I need to compare to dates/time to get the result how many seconds are between two times/dates.
For example i want to know how long it is in seconds between 01.01.01 12:00:00 and 01.01.2001 12:01:38. the problem is how to handle the midnight when the date changes.
thx for your answers