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.

converting a date

Featured Replies

I have a file that I am trying to import into filemaker.

The date is set up as follows:

May 1, 2009

How do I convert those dates to something that filemaker recognizes as a date. I want to be able to sort and find on all these dates. Right now I am importing them into a field that is defined as a date but it displays a question mark.

I feel like this is one of those things that should be so simple, but I cant find any solutions. Do I have to write a custom function for this?

No need of a custom function...

Only this calc:

Let([

m = Ceiling ( Position ( "JanFebMarAprMayJunJulAugSepOctNovDec" ; Left ( yourField ; 3 ) ; 1 ; 1 ) /3 ) ;

d = MiddleWords ( yourField; 2 ; 1 );

y = RightWords ( yourField ; 1 )

];

Date ( m ; d ; y )

)

( yourField is the TEXT field where you stored the imported date )

  • Author

sorry may was a bad example. It is not a 3 character month is is the whole word spelled out so the length will vary.

The day also changes because they are giving me one character days for 1-9.

I will look more closely at what you sent me and see if I can modify it.

It's not important if there is the whole name, the calculation will work the same way.

Do not modify the calc !

Edit: the one important thing is that there is a space between each value.

  • Author

Thanks, that worked

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.