Datetimepicker error in React JS code : error Uncaught TypeError: Cal.GetMonDays is not a function
<p>I have a requirement to have the date and time format as YYYY-MM-DD HH:MM:SS in my react JS calender tag. But i dont find a suitable library for it.</p>

<p>I used a similar library in JQuery called datetimepicker_css.js and it worked fine. But when i use it in react js code, it throws an error Uncaught TypeError: Cal.GetMonDays is not a function. I am not sure why. If anyone has any inputs on this, it would be highly appreciated. </p>

<p>YYYY-MM-DD HH:MM:SS</p>

<p>2016-03-10 10:42:22</p>