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.

How do I return a Date type from my plug-in?

Featured Replies

Hi all,

I am new to this forum. Great forum first off!

Actually 2 questions:

1. Where can I find more documentation on writing plug-ins? The Developer Edition of Filemaker only came with 1 plug-in sample?

2. I have written a simple plug-in. I would like to return a date back to Filemaker. Currently I'm returning a string. In the Field Define Lists dialog if I set the Calculated field to return 'Date', then it displays a "?" in the field when I run Filemaker. What's the trick?

Thanks for your help in advance and I look forward to hopefully contributing to this forum and answering some questions for other folks.

Sincerely,

John Scalco

I don't think there is any other documentation on writing plugins other than what cam on the CDROM. You might look at David McKee's site www.protolight.com. He may have some additional examples.

I think you need to convert the date using TextToDate(date) function.

If you find any other docs on plugins, please let me know.

  • Author

Thanks for the reply.

I checked the website you suggested and did not see any information there.

Regarding TextToDate(), thanks for the suggestion, I already had tried this and it is one way to go, however, I really don't like the idea that the user has to call another function to use my function !

ex: TextToDate(External("myl-TestThis", "10/20/2002"))

I only want one call to keep it simple.

thanks again,

John Scalco

Are you aware thzt dates are stored internally as the number of days since 1/1/0001?

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.