Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

How to change the Behavior of the DateTime Field from DateOnly to different behavior on premise CRM 2016

Posted on by Microsoft Employee

Hello Guys,

Is there any way that i can change the behavior of the DateTime field from the DateOnly to a different behavior.

if there is please let me know.

Thanks 

Shashikant Saxena

*This post is locked for comments

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: How to change the Behavior of the DateTime Field from DateOnly to different behavior on premise CRM 2016

    Hi ,

    Hi Sashikant ,

    Unfortunately this is not possible , you can not change the date and time  field behavior once field created .

    However you can easily change the format . 

    2019_2D00_01_2D00_10_5F00_14_2D00_48_2D00_43_5F00_date.png

  • Suggested answer
    Sreevalli Profile Picture
    Sreevalli 3,256 on at
    RE: How to change the Behavior of the DateTime Field from DateOnly to different behavior on premise CRM 2016

    Hi Shashikant,

    You can change the Date Time field Behavior only when it is "User Local" (its default). once you change this to "Date Only" or "Time Zone Indipendent" upon saving it will warn you that you can modifiy after that, and you cannot do any modification on behavior again.

    As Tom suggested, you have to replace it with new field.

  • Suggested answer
    ThomasN Profile Picture
    ThomasN 3,190 on at
    RE: How to change the Behavior of the DateTime Field from DateOnly to different behavior on premise CRM 2016

    Hi Shashikant, thanks for reaching out.

    Side note: there are plenty of great women on here, I know I use 'guys' in general but perhaps we should use something else.

    Okay, the date change cannot happen after the attributes are created. However, that only affects the UI. As for the database those datetime fields are full UTC regardless of what is selected for UI.

    If users need to see time you need to create new field or replace with custom code that shows time by making API call for that field. All depends on impact to form or impact to database. Which is worse.

    Hope this helps.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans