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.

Use System Formats and the Evaluate Function - changes date back to wrong format

Featured Replies

I know date formats has been an ongoing complexity of FileMaker for years.... but here's a new problem (to me)...

 

----- The setup -----

File was built in Australia - using Australian formats.

 

Orders::event_date = date field, with 19/09/2014 (Australian Format) in it

 

Script on startup = Use System Formats [on]

 

 

----- Opening on a US System -----

When I open on a system using US formats, I see that:

 

Orders::event_date = 09/19/2014 (US Format). All good.

 

And:

 

Evaluate("Orders::event_date") = 09/19/2014 (US Format). All good.
 
 
----- BUT... The problem... -----
 
Evaluate(""we will arrive on " & Orders::event_date & ", at"")
 
results in:
 
we will arrive on 19/09/2014 at
 
Australian Format! :(
 
Why, when there's text in the Evaluate format does the date format switch back to Australian format?
  • Author

Ah, so it's a known bug. That sucks.

 

So it's because (I assume) FileMaker Evaluates AS TEXT when there's something more than a date to evaluate.

 

I also did what I thought was a thorough search for an answer on here before posting. Ah well.

 

And yes my usage seems peculiar but that's because I've just simplified a far more complex calculation that was in play.

 

Thanks for your answer! :)

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.