I have a report page that has to calculate a formula using the days in a month. The formula I use on my job is say: $500.00 divided by 30 days, = $16.66 per day Times a number of days left in any given month. So, if the purchase date was the 8th day of March, then it would be 24 days times the $16.66 equaling $399.99 or round up to $400.00.
All through out my tables, forms and reports I have used the date format as 03/03/2003. I have my report calculating every thing correctly except when I/it gets to multiplying the daily rate times the number of days.
How do I get the the calculation to multiply the remaining days, or to pick just the day out of the middle of the formated date? I have tried to convert the date to a computer number but I get no answer or some number way out there and no where close to what the correct answer is.
Any Ideas? Thanks for your help and input.
All through out my tables, forms and reports I have used the date format as 03/03/2003. I have my report calculating every thing correctly except when I/it gets to multiplying the daily rate times the number of days.
How do I get the the calculation to multiply the remaining days, or to pick just the day out of the middle of the formated date? I have tried to convert the date to a computer number but I get no answer or some number way out there and no where close to what the correct answer is.
Any Ideas? Thanks for your help and input.