Skip to main content

Notifications

Announcements

No record found.

Customer Service forum
Suggested answer

When I change my Date to a previous date once I save it changes it to today`s date

Posted on by 80

Hi All 

I have a date field in my solution called received date  that allows my customers  to save the date when a complaint  is logged .

The Data Type = Date and Time 

Field Type =Simple 

Behavior is = User Local 

Format = Date Only 

IME Mode =Auto

However if we try save another date whether its before or an after date it keeps reverting to today`s date .

I have highlighted the date below ,any ideas how  can fix this ?

pastedimage1657268102240v1.pngpastedimage1657268337972v2.png

Categories:
  • Suggested answer
    Amit Katariya007 Profile Picture
    Amit Katariya007 5,769 Super User on at
    RE: When I change my Date to a previous date once I save it changes it to today`s date

    Hello,

    Are you able to see your code to perform updated date which is not today's date?

    Because working with the Date fields are complex compare to the other data type fields. Please check the format and other details related with the date field in your code.

    If possible you can share code snippet which will help more related with this requirement.

    Thank you,

    Amit Katariya

  • RE: When I change my Date to a previous date once I save it changes it to today`s date

    Hi rodzmaz81,

    Check the javascript associate with the form to check if there are any logical to fill this field automatically with the actual day.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,989 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans