web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Add date to autonumber field

(0) ShareShare
ReportReport
Posted on by

Hi,

I have a autonumber field. Its current format is "TK-0000001". I want to append date at the end of it. For e.g "TK-0000001-ddmmyy".

Please let me know how is this possible.

Thanks

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    I'm afraid you can't do that using OOB autonumber but you can do it using custom code - for example plugins.

  • Suggested answer
    Fubar Profile Picture
    2,761 on at

    You can do it with the OOTB Autonumber, however the 1 issue is that the only value available is UTC.  In the make.powerapps.com interface go to a Text column and change it to Autonumber (or create a new autonumber field), in the Autonumber type dropdown select Custom, in the dropdown below the Format you can select to add Date after adding it you can then rearrange the yyyy-dd-MM elements e,g, ddMMyy is valid.

    This is an old page but has some examples of different formatting options docs.microsoft.com/.../create-auto-number-attributes

    Also, after the number is generated it is just a text value so you can also append after it has generated via plugin or workflow etc.

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    LA thanks! Did not know that! That's why I like this community website!

  • Suggested answer
    CRMJetty Profile Picture
    3,514 on at

    Hello,

    pls refer this article,

    https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/146170/auto-number-based-on-year/326230

    https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/146170/auto-number-based-on-year/326230

    I hope it helps,

    Thanks.

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 180 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 123

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans