JSFiddle - React, Tailwind, and code Playground

HTML

<select name="mes">
</select>
<select name="ano">
</select>

JavaScript

var months = [
  {DaysInMonth:31, Name:"Janeiro"},
  {DaysInMonth:31, Name:"Fevereiro"},
  {DaysInMonth:31, Name:"Março"},
  {DaysInMonth:31, Name:"Abril"},
  {DaysInMonth:31, Name:"Maio"},
  {DaysInMonth:31, Name:"Junho"},
  {DaysInMonth:31, Name:"Julho"},
  {DaysInMonth:31, Name:"Agosto"},
  {DaysInMonth:31, Name:"Setembro"},
  {DaysInMonth:31, Name:"Outubro"},
  {DaysInMonth:31, Name:"Novembro"},
  {DaysInMonth:31, Name:"Dezembro"}
];
$(function() {
    var monthSelector = $('select[name=mes]');
    $.each(months, function(index,month) {
        $('<option></option>')
            .attr('label', month.Name)
            .attr('value', index)
            .html(month.DaysInMonth)
            .appendTo(monthSelector);
    });

    var yearSelector = $('select[name=ano]');
    for(var year=1970;year<=2010;year++)
        $('<option></option>')
            .attr('label', year)
            .attr('value', year)
            .html(year)
            .appendTo(yearSelector);            
});