function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
laxmi narayan 11laxmi narayan 11 

I have a custom field of date of birth, which only showing 2017 to 2023 year in calendar. Please let me know how can I select the year 1989 and above.

Raj VakatiRaj Vakati
When you click into a date field, the calendar pop-up will display the past year, current year, and 5 years into the future. If you need to enter a date that cannot be selected from the calendar, simply type that date into the date field. 

please refer this link 

https://help.salesforce.com/articleView?id=000003739&type=1
 
Prashant Pandey07Prashant Pandey07
Hi Laxmi,

You can not manually select the value 1989 from the standard date picker. but yes if you have a custom page then you can add a custom date picker.
 
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript">
var d = new Date();
var now = d.getFullYear();
var endYear=now-20;
var startYear=endYear-25;
$j = jQuery.noConflict();
$j(document).ready(function() {
	var htmlStr='';
	if(startYear<endYear){
		for(i=startYear;i<endYear+1;i++){
			htmlStr += "<option value=\""+i+"\">"+i+"</option>";
		}
	$j('#calYearPicker').html(htmlStr);
    }
});
</script>