How to separate the year from a birthdate?
<p>I want to separate the year from the Birthdate.I have a checkbox called Birthdate inside a modalpopup and it used to show the birthdate of a person beside the checkbox and when checked it will show the mm/dd/yy in a table created dynamically. But I want to separate the mm/dd and the year and show only the date along with the month.  And there will be another checkbox called Show year which will only show if the Birthdate checkbox is checked and if checked it will show only the year.
For eg:
if suppose birthdate is checked,it will show as below
  Birthdate [12/27]
  Year  [1986]
and if bithdate is not checked it will not show the year checkbox below</p>
