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

I have a timestamp field that is auto-enter upon the commiting of a record. What i need is a field that returns the previous day of the record. Not 24 hrs. If someone commits it on 4/28/04 at 12:01 AM, then it should say 4/27/04.

I looked through the date functions and didnt see anyway to extract the date from a time stamp field so i used:

LeftWords ( timestamp ; 1 )

this returned the date of the timestamp value. So, i added a - 1 to the calc.

Leftwords(timestamp ; 1) -1

But this gives me a ? in the field. Oddly if i create a two extra fields (three total), i can get it to work:

"Timestamp" ; timestamp format ; auto-enters timestamp

"ExtractDate" ; Calculation-date format ; Leftwords(timestamp ; 1)

"PreviousDate" ; calc.-date format ; ExtractDate - 1

While this will work... why do i have to split the calculation into two fields? In my mind, Leftwords(timestamp ; 1) - 1 should work? that is essentially what i am doing anyway...

LeftWords() is changing the date portion to be text.

Try:

GetAsDate( timestamp ) - 1

instead, that should leave the result as type date.

  • Author

thank you very much, that works exactly how i need it to.

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.