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.

Time in 5, vs time in 8

Featured Replies

I have attached a file that has a simple calc that extracts the hour from a time field.

My final solution is for a FMP5/6 client.

My Formula is:

Abs(Mod(Hour(TimeStart)+12 , 12))&

If(Hour(TimeStart) < 12, "A", "P")

In FMP5 i can not get the proper result.

timeIn5.zip

I don't quite see the problem - other than hours 0, 12 and 24 turning into 0, instead of the expected 12. But that will happen in both versions.

Please provide an example of input value and the incorrect result.

If you are on a Intel Mac, running FMP5 in Rosetta, the problem might be there:

http://fmforums.com/forum/showtopic.php?tid/181094/

http://fmforums.com/forum/showtopic.php?tid/181095/

  • Author

from 7pm up the result starts at -5, -4, -3, etc. But now that you say there is no problem, I am curious if it is that the client is running FMP6 on a Mac Intel machine.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.