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

Featured Replies

Greetings.

May I kindly ask somebody to point me into the right direction. I have been trying for hours to get a date calculation right.

The situation is:

a) my FMSA is located at the East Coast - US

;) my client is in Sydney - Australia

c) the time difference is +20 hours for Sydney

I need a date calculation which sets the date to Sydney time when a new record is created.

Output form must be timestamp. On the server I can use:

Get ( CurrentHostTimeStamp ) which results as: 23.01.2007 19:31:13.

Now I need to add the 20 hours which is: 24.01.2007 15:31:13.

I tried so many different calculations which didn't work correctly.

Another question: Can I subtract TimpStamp fields to calculate "how many minutes since the last record generated"?

Any ideas?

Thanks a lot, Greg

1. Try:

Get ( CurrentHostTimeStamp ) + 20 * 3600

2. Yes, you can subtract TimpStamp fields - the result is the difference in seconds. Divide by 60 to get the minutes.

3. What has all this to do with e-mail?

  • Author

Thank you very much. It works very well and you saved me hours of further trying!

Greetings.Greg

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.