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.

Adding numbers to date

Featured Replies

I hope that this should be easy. I need to find out if I can have a certain field automatically file in the date format I need.

When we open a sort (say today) it goes 00220091112KA

This is broken down by 00220 (Our Location number which never changes) 09 (year) 11 (month) 12 (day) K (never changes) A (starting at A and ending on which letter we are on for that night).

When I go to put a project into the system I enter the date in the date field 11/12/09 and the project number automatically populates 00220 I would have to fill in the rest of the numbers 091112KA.

I would like it when I put in the date it automatically puts 0022091112K Which i would just put A or B or C depending on which project we are on for that day.

Any advice or am I just stuck with it putting 00220?

As long as you have the project letter ("A") in a field somewhere, no problem.

Use the following calculation in a field or script step:

"00220" & right(year(get(currentdate)),2) & month(get(currentdate)) & day(get(currentdate)) & "K" & currentProjectLetter

That should do it. A tip if you want leading zeroes in your month and day parts, replace:

day(get(currentdate))

with

right ( "0" & day(get(currentdate)) ; 2 )

Hope that helps. Would be interested to know what you need it for ie the wider context.

James

  • Author

This is how we do our job numbers. Like tomorrow (11/13/09) would start out new with 00220091113KA

If we get two jobs tomorrow the next project would be 00220091113KB and so on. And that worked! Thank you!

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.