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.

How to create a date without day?

Featured Replies

Hello all,

I am new to this and new to FM Products. In the coming time, I hope to learn to use FM, in due time I even hope to get nearly as good as some of yous are smile.gif

I hope that you people will tolerate me asking horrible newbie questions for the time being.

What I would like to do, specifically, on this occasion: I would like to make a date field, in which only the month and the year are visible.

Can anyone give me some pointers?

Hi Ano,

You can create another calculation text field which capture the month and year.

for example, if the date format is mm/dd/yyyy (01/18/2003)

then the calculation you can set it as:

Left(DateToText(date), 2) & Right(DateToText(Date), 5)

So the result will be 01/2003

You can just use the Text functions(left, middle, right) to capture the data which you want.

Regards,

Henry

If you want to display the month and year on a layout; add your date field on the layout and use the format , date option to only display the month and year.

If you have to have a field then try Month(DateField)&"/"&Year(DateField).

NB. This is a text result not a date.

just like Robert said, if you can just change the date format, this is the simple way.Thanks for Robert advice. This is more simple that my solution.

For my solution just now, you can use it in other cases like filtering technique. For example, phone number, user key in numeric number but you can add a "-" between the area code and phone number.

Regards,

Henry

  • Author

That did the trick, thanks guys smile.gif

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.