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.

Separate the date & time from Current Host Timestamp?

Featured Replies

What's the best way to separate the date and time from the server's time stamp?

I'd like to upgrade an employee timeclock by using the network clock instead of each seat.

Thanks in advance,

Stephen Ray

If I understand correctly, a calculation with:

Get ( CurrentHostTimeStamp )

... and format the calculation as DATE.

Do the same for time.

  • Author

The present solution uses separate date and time fields. I would like to separate the host timestamp which combine date and time.

If separated, it would be easier to update a number of scripts and calcs.

TIA,

Stephen Ray

So you want to take the HostTimeStamp and just produce a date from it?

  • Author

Yes, the date as a separate field and also the time as a separate field.

Then try my suggestion? It can be a calculation or even used within a Set Field [ ] script-step or used via Replace Field Contents. It can even be formatted like any other date field (via field-level format, ie, right-click field and view date formats. :wink2:

If you take a timestamp field and (within a calculation), specify it as DATE - or even set a date field with the calc, the result will only be the date portion of the timestamp. Cool, huh? I adore timestamps.

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.