Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / January 2006

Tip: Looking for answers? Try searching our database.

Calculate weeks or months between dates

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
stickandrock - 31 Jan 2006 01:20 GMT
input fields
start date
end date
Frequency (Weekly or Monthly)

based on the frequency I need to determine the nbr of payments between 2 dates

ex.
start date = 1/30/06
end date = 4/9/06
frequency = weekly

result of calc should be 10

or if frequency = monthly

result of calc should be 2 (2 full months not just 4 - 1 given 3, must pay
attention full months of duration)

Thanks you for any and al input
stickandrock - 31 Jan 2006 15:00 GMT
I know for the weekly calculation I could determine the number of days
between the dates then divide by 7 to get weeks, but Monthly calculation is
more difficult

> input fields
> start date
[quoted text clipped - 16 lines]
>
> Thanks you for any and al input
RD - 31 Jan 2006 16:51 GMT
>input fields
>start date
[quoted text clipped - 16 lines]
>
>Thanks you for any and al input

Take a look at these.  Maybe one or more might help.
http://www.mvps.org/access/datetime/index.html

Regards,
RD
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.