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.

Calculation not working in month conversion

Featured Replies

  • Newbies

I am using a calulation of:

Right(Perf Date,4) & Middle(Perf Date, 3, 3) & Left(Perf Date, 2)

The format that I am calculating from is mm/day(Jun)/yyyy. As what is is stored is 09Nov1999

What I receive is yyyyNov09.

I am not sure how to format as this:

yyyymmdd

Thanks for your help.

quote:

Originally posted by bensons:

I am using a calulation of:

Right(Perf Date,4) & Middle(Perf Date, 3, 3) & Left(Perf Date, 2)

The format that I am calculating from is mm/day(Jun)/yyyy. As what is is stored is 09Nov1999

What I receive is yyyyNov09.

I am not sure how to format as this:

yyyymmdd

Thanks for your help.

If Perf Date a date field try the following:

Year( Perf Date ) & Month( Perf Date ) & Day( Perf Date )

Chuck

[This message has been edited by Chuck (edited October 26, 2000).]

Trying to get date information out of a text field is not going to be very reliable as it will depend on whether people have entered leading zeros and typed in the full century etc.

If all that you want to achieve is for the date to be displayed in a particular way on a layout or in a report, you only need to use the Format:Date command and create a cuatom format that will automatically display the date in the format you desire. It cannot do everyhting but it may solve your problem here.

[This message has been edited by Vaughan (edited October 29, 2000).]

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.