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.

Day Calculation

Featured Replies

Hi all

Can't figure out how to calculate the number of days left in the current year.

date ( 12 ; 31 ; day ( get ( currentDate )) - get ( currentDate )

Minor correction:

date ( 12 ; 31 ; year ( get ( currentDate )) - get ( currentDate )

  • Author

Genx

I assume that that goes in a calc field.

When i do all i get is a ?

Thanks

  • Author

by the way genx thanks for the help on my last little problem

Hi Fred,

No worries.

Make sure that your calculation is unstored and that the result is Number type.

Edited by Guest

.. seems there was also a missing bracket:

date ( 12 ; 31 ; year ( get ( currentDate ))) - get ( currentDate )

  • Author

Checked and is as you said.

still "?"

  • Author

That got it... Thanks again

... weird

Go to tools -> data viewer and try it there.

Glad you got it working :P

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.