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.

Time lapsed - with no end time and on the fly?

Featured Replies

I have 2 fields, time in and time out that are filled in when a user clocks in or clocks out.

I'm trying to create a 3rd field that calculates the lapsed time. If there is no end time then the field should (get current time) so these hours are calculated on the fly.

Here is my field calculation so far:

Case( Time Out; Time Out - Time In;

IsEmpty (Time Out); Get( CurrentTime ) - Time In )

Your calculation is a little awkward because it checks the same thing twice, but other than that it should work. Of course, any calculation that uses Get ( CurrentTime ) must be unstored. This may add unnecessary burden on reporting. Consider keeping the calculation stored, e.g. as =

If ( Time Out ; Time Out - Time In )

and displaying the alternative calculation as a placeholder.

Edited by comment

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.