Can anyone help me finding me a calender without year.I have found one.But problem is after choosing date and month, in input box year is showing.I want only day and month in input box.
Asked
Active
Viewed 1,980 times
0
-
1possible duplicate of [Jquery datepicker - only day and month](http://stackoverflow.com/questions/6799092/jquery-datepicker-only-day-and-month) – Vucko Dec 10 '14 at 07:47
-
Are you using jquery datepicker? – Sougata Bose Dec 10 '14 at 07:49
-
Yes.I am using Jquery datepicker. – Bikash Paul Dec 16 '14 at 07:12
1 Answers
0
If you're using Jquery Datepicker, you will have to do it like this:
html:
<input type='text' id='datepicker'>
javascript (JQuery):
$('#datepicker').datepicker( { changeYear: false, dateFormat: 'dd-mm' } );
JsFiddle (see needed external resources)

M Zeinstra
- 1,931
- 4
- 17
- 46