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 Non USA Dates?

Featured Replies

When I import records from a distributor, if the country field is not USA, the days and months are reversed in the date fields.

Instead of mm/dd/yyyy

I get dd.mm.yyyy

I have two sets of date fields for every record I import, a start date and a closing date. And the non USA dates are made with periods instead of slashes.

can I set a script or something so that if it says USA in one field, it doesn’t change the two date fields? but if it does NOT say USA in that field, it switches the dd.mm.yyyy to mm/dd/yyyy in both of the date fields for that record?

right now i'm just looking them up and doing a batch replace, but i bet there might be a way to do it when I'm importing the records.

Thanks! Adam

Edited by Guest

I think it would require a seperate text field for the import. It would definately require that the data you are importing is consistent. FM7 example attached that uses import fields and auto-enter calculations.

Dates.zip

  • 2 weeks later...
  • Author

It worked exactly perfect. I tested it alone, and now i'm going to bring those calculation fields you made into my database.

Luckily the information I get is very consistent. A robot from the distributor sends the information, so humans like me won't be able to make typos.

Sorry I take a while to reply after you nice people offer your help. I just go out of town a lot, and i don't take filemaker on the road with me.

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.