Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Juggernaut

adding days to a date based on calculation result

Featured Replies

  • Newbies

hey, so here's the deal. I'm working on a database for a rooming house, I'm trying to devide the 'payment' by the 'daily rate' to get the number of days the tenant will be paid through, so I need to ad the resulting number to the paid through' date field. I have no clue how to go about this. I just grabbed this from some other thread, and think it could be modified for the last part of my script.

Date(Month(DD Start Date); Day(DD Start Date)+ RESULTS; Year(DD Start Date))

any help would be greatly appreciated.

Thanks,

Manuel

I am not sure I completely understand what you are asking as it should be very simple.

The payment divided by the rate will determine the number of days paid for. Just add these days to the date through field as a straight calculation.

if DateThroughField = 01/01/08 and the number of days is 10 (Result) the calculation (DateThroughField + Result) would be 11/01/08. You may need to deal with any fractions either rounding up or down as required.

If I have misunderstood please supply more information and I will try to help.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.