Skip 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.

Adding to a Date

Featured Replies

I have an date field that I want to be able to add a number of days to it. I want to be able to add 20 days to a date field. What kind of script would be used here to accomplish this? I tried adding the number straight to the date field and set the calulcation to return as a date and get some really weird results. There must be an easy way to add to a date field.

Thanks in advance, Coffee.

Is your original date properly formatted as a Date field? If the original field, StartDate is formatted as a Date field, you can have a calc field with StartDate + 20, and if the result is formatted as a Date field, it should give you what you are looking for.

  • Author

I do have a date field but I have another field for expected delivery period that has a numeric value in it. I have setup the expected delivery date filed as a calculation to add the order date field with the expected delivery period field. This is not producing the results I need. Some dates have years going to 2881 and some records have a ? mark. Wierd.

Even if your calc field is OrderDate + DeliveryPeriod, it should yield you the proper results.

The year coming weird like that is usually a result of the OrderDate field being a Text field etc. Again are you sure that OrderDate is properly formatted as a Date field as well as the calcualtion result and the DeliveryPeriod field a number field?

  • Author

Yes you are right, my order date field was a text field that was auto entering a creation date. Thanks for your help.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.