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.

Featured Replies

Hi.

In my database I have a small script that acts as an activitiy log, whereby as each user moves to and from particular screens or specific record activity, a new record is written to one of the tables with the user's login name, time & date, etc. It works great... except... (theres always a but) - the time recorded in the table is that of the client's workstation - which is fine except for several clients are operating in different timezones so the order of the log gets out of whack.

I have considerded a few options to get around this, but none will work satisfactorily. They included having a table that contains the timezone of that user - but they may change offices.

The only credible one is to have the server itself have an open table with a field that is it's own time and pull the info from there, but that means have FM (not FMS) running on the server as well, and seems like a clumsy solution.

Any ideas please peoples?

Cheers,

Greg

Hi.

In my database I have a small script that acts as an activitiy log, whereby as each user moves to and from particular screens or specific record activity, a new record is written to one of the tables with the user's login name, time & date, etc. It works great... except... (theres always a but) - the time recorded in the table is that of the client's workstation - which is fine except for several clients are operating in different timezones so the order of the log gets out of whack.

I have considerded a few options to get around this, but none will work satisfactorily. They included having a table that contains the timezone of that user - but they may change offices.

The only credible one is to have the server itself have an open table with a field that is it's own time and pull the info from there, but that means have FM (not FMS) running on the server as well, and seems like a clumsy solution.

Any ideas please peoples?

Cheers,

Greg

Try:

Get ( CurrentHostTimeStamp )

  • Author

Try:

Get ( CurrentHostTimeStamp )

Oh dear. How embarassing. How does one blush online?!

Thankyou. :)

You could also just use the Access.log that is generated by FMS itself. With a small OS level script you can move a copy of it to the FMS docs folder and have FMS import it into your desired table. Doesn't burden your solution and works across all your hosted files....

  • Author

Hi Wim Decorte,

That sounds like a good solution too - straight from the core as it were. I will look at that.

Thank you.

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.