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.

Six digit date from date stamp

Featured Replies

Hello all,

The client I am developing for uses a Stock ID number for each individual piece he sells. Each piece is unique and has a unique number. Part of this number is the six digit date (MMDDYY) the item was received.

Is there a way to convert an auto-enter date (MM/DD/YYYY) that is made with each new record to just MMDDYY so I can use it in a calculation to help automatically created the stock ID number?

Thanks

Drew

I would never use anything but serial autoenters for ID'ing a record!

Beyond that lets apply the Sinatra doctrine:

Right("0" & Month ( theDate );2) &

Right("0" & Day ( theDate );2) &

Right(Year ( theDate );2)

--sd

  • Author

Thanks for the advise. I actaully am using an autoenter in the background for all realationships. I just have to implement a system they are used to seeing.

I am quite new to FMP and was not sure how to implement your calculation. How exactly do i have it reference to a date say from a time stamp or one choosen from the pop up calendar feature.

Thanks for the help :

Drew

  • Author

I made it work!!! Thanks so much! For anyone else in my shoes of being a novice, I just put the field for time stamp which is created at record creating in the ( theDate)

Edited by Guest

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.