getFullYear not a function in datepicker code example
Example: onehire:1770 Uncaught TypeError: $(...).datepicker is not a function
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>