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.

Server Based Time Stamp

Featured Replies

  • Newbies

Does anyone know of a way to get current time from the Server rather than the client machine? We have a time tracking system setup that requires a get current time function. The problem is that we need to make sure that all the client machines have their time set accurately.

Would love to be able to get the current time off the FMServer machine or some other centralized computer.

  • Author
  • Newbies

Ouch!!!

That was too easy!

Thank you!!!!!

Of course you can't use it automatically as the auto enter modification value. But see the tip on John Mark Osborne's web site for how to have the Host Time Stamp be the automatically generated one.

I premiered this at a recent FMDiSC meeting.

Steven

Hi Steven!

I looked for what you mentioned on JMO's site and couldn't find it. However, there are many techniques which work... Check Auto-Enter by calculation and uncheck Do Not Replace Existing value. You need a modification timestamp field anyway, then any calculation such as:

Let ( trigger = regular Auto-Enter TimeStamp field ; Get ( CurrentHostTimeStamp ) )

or

If ( regular Auto-Enter Timestamp field ; Get ( CurrentHostTimeStamp ) ; Get ( CurrentHostTimeStamp ) )

Each time the standard auto-enter modification timestamp changes (meaning any field data changes within that table) then calc will fire as well. If you have a way without using an regular auto-enter modifcation timestamp to trigger it, I'd like to know! Of course you can also put all fields within the Let() as:

Let ( trigger = StartDate&EndDate&User&Amount ... ; Get ( CurrentHostTimeStamp ) )

I am sure there are even more ways. Is the way you're suggesting different still? I'd love to see it. Can you tell me where to look on his site?

LaRetta :wink2:

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.