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.

[solved] Date field importation and transformation

Featured Replies

  • Newbies

We've noticed while importing tab delimited text files (which we do on a weekly basis) with dates formatted as 00/00/00 FileMaker transform it into 00/00/0000, but if it is a single digit month or day it will be 0/0/0000, this presents a problem for us, we need all single digit month and days to be stored as two digit month and days i.e. 02/08/2008

Any ideas?

-Silas

Edited by Guest

we need all single digit month and days to be stored as two digit month and days i.e. 02/08/2008

How dates are stored usually doesn't matter. FileMaker takes User dates in many formats, ie, with dashes, without year (will assume current) and so on. Then the Developer decides how to DISPLAY the dates as they wish.

So I believe you want to use the layout level formatting. From layout mode, select the field and Format > Date. You can specify leading Zero on days and months that way and also whether the year should display 2-digit or 4-digit.

  • Author
  • Newbies

In fact we do DISPLAY the date in the format we need it, but the issue comes during cross database lookups and matching data based on these dates, which are inconsistent with our other dates in the 00/00/0000 format. 2/8/2008 doesn't = 02/08/2008?

2/8/2008 doesn't = 02/08/2008?

Hmm, well it certainly SHOULD match in relationships if both sides are true date fields. I am unsure what you mean by "during cross database lookups and matching data based on these dates" because, again, FileMaker sees them as dates regardless.

Can you explain a bit more of your situation? What are your Regional/Language Options set at? I would think imported dates would match, ie, does Mac have option for 'long date' instead of 'short date?'

UPDATE: To clarify, an OS setting usually gives options: M/d/yyyy or MM/dd/yyyy ... etc.

Edited by Guest
Added update

Sounds like these are text fields to me.

Lee

  • Author
  • Newbies

In fact the fields are Date fields, your suggestion above, about changing the computers date format to 00/00/0000 worked... the data after import is now stored as 02/09/2008.

Thanks Guys!

-Silas

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.