I used this simple code to calculate the difference between the current date and another date for several records in an Access table:
Option Explicit
Function GetElapsedDays(interval)
Dim days As Long
days = Int(CSng(interval))
GetElapsedDays = days & " Days"
End...
I have a similar problem. I used this simple code to calculate the difference between the current date and another date for several records in an Access table:
Option Explicit
Function GetElapsedDays(interval)
Dim days As Long
days = Int(CSng(interval))
GetElapsedDays = days &...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.