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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Why is 1/1/1900 the minimum date allowed? Workarounds?

(0) ShareShare
ReportReport
Posted on by 90

There has got to be a workaround to the minimum date time of 1/1/1900.  Any suggestions?

*This post is locked for comments

I have the same question (0)
  • ryanb31 Profile Picture
    90 on at

    I did find a file in C:\Inetpub\wwwroot\_static\_controls\datetime named date.js that has the following line of code:

    var _dCalMinDate = new Date(1900, 0, 1);

    I changed it to 1800 and tested and still did not work.  I reset IIS thinking it was cached and tried the date 1/1/1850 and it still would not let me enter that date on a form. 

    I assume this is the correct place to make the change and I must be missing something simple to get it to take effect.  Any ideas?

  • sdqd Profile Picture
    20 on at

    MSDN: The smalldatetime data type stores dates and times of day with less precision than datetime. The Database Engine stores smalldatetime values as two 2-byte integers. The first 2 bytes store the number of days after January 1, 1900. The other 2 bytes store the number of minutes since midnight.

  • ryanb31 Profile Picture
    90 on at

    This is not a data type issue.  The data type of the date field in SQL is datetime, not smalldatetime.  In fact, I can change the date in SQL diretly but the UI for CRM does not allow it.

  • Sudhanshu Sahoo Profile Picture
    270 on at

    yes, ryanb31 is correct.

    its possible to enter or update directly in sql, but the same record does not view in the crm UI, nor can enter  date lesser than 1900.

    any work aoround plz?

    Regards,

    yes.sudhanshu

  • DamonF Profile Picture
    45 on at

    I know this is really old, but it's still the first Google result for "Dynamics 365 minimum date" so I thought I'd call out that this behaviour has now changed. Quoting the documentation for Behaviour and format of the date and time field:

    "Starting with Microsoft Dynamics CRM Online 2015 Update 1, the date and time fields support values as early as 1/1/1753 12:00 AM."

  • Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    What version of Dynamics CRM are you using? I am able to set the date to 1800 or earlier.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans