Ive been trying to do a module that would take 2 dates and times as input and give a result of their difference in seconds. Maximum difference would only be 2 days (172,800 secs).
Example:
Input 1: Feb 23, 2005. 11:30 AM
Input 2: Feb 24, 2005. 11:31 AM
Result: 86460 secs.
Ive been trying for 2 days now and im failing miserably.
Could you please help me out with this?
26-02-2005 at 08:01 AM
|
Goran Level: Moderator Registered: 16-05-2002 Posts: 1681
Here is the explanation of DateDiff function taken from MSDN, you also have a link to example on the top of the page. Since this is a very often question, it will be moved to Frequently asked questions section.
____________________________
If you find the answer helpful, please mark this topic as solved.