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.

DateToText(Today) question?

Featured Replies

This may be a stupid question but for some reason, when I use DateToText(Today)

it returns 6/20/2003. You might ask, what is wrong with this but it said in the filemaker pro bible that it would return in the format 06/20/2003. of the format MM/DD/YYYY, having a "0" before single digit numbers for the month and day. This is the exact format that I would like it to be in.

Is there a preference that I need to change?

Thanks.

It will show that way, if you select that formatting in Layout mode. Go to Layout Mode, select the field, go to Menu - Format - Date and Play with the options, you will find several ways to display your date field

Lee

wink.gif

DateToText will drop the leading zeros. If you need them in your text field, you will need to add them via calculation.

Right("0"&Month(Today),2)&"/"&Right("0"&Day(Today),2)&"/"&Year(Today)

Do not use Today...instead use Status(CurrentDate). It's faster and it's always correct. If your datafile remains open past midnight, Today will still indicate 'yesterday'.

Steve

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.