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.

Format Date in Inline Action, Date field

Featured Replies

Hey all. What is the proper syntax to format the {currentdate} tag in an inline action request (in this case a -new)? I tried {currentdate:short} and got an error 500, invalid date format. Also tried {currentdate,short} but got an error 4, unknown command.

For the second question, I am trying to display the contents from a date field, but force it to show in the format mm/dd/yy, however it insists on a 4-digit year date, even if it's formatted on the proper layout as 2-digit. Can you do something like [fmp-field: fieldname: short]? I know this doesn't work, but something similar?

Both of these problems are a result of filemaker insisting on entering dates via wc as from 19xx instead of 20xx and not wanting to modify all the dates as they are entered. I remember a while back there was talk of using javascript as a workaround. Is there any WC fixes for this problem yet?

Bevin

Bevin

Use Format instead "short".

Or use calculated field.

HTH

  • Author

yeah, i could do a calc field that added 1000 yrs to every date...

when you say use format instead of "short", can you show me the syntax for the inline action? Thanks.

Bevin

I didn't tried in Inlines, but it works for CDML standard fields. I believe there is my post somewhere in Web section.

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.