   validateDynamicMaxDate: (question) ->
     val = question.find("input[type='text']").val()
 
-    questionYear = parseInt(question.find(".js-date-input-year").val())
-    questionMonth = parseInt(question.find(".js-date-input-month").val())
-    questionDay = parseInt(question.find(".js-date-input-day").val())
+    questionYear = question.find(".js-date-input-year").val()
+    questionMonth = question.find(".js-date-input-month").val()
+    questionDay = question.find(".js-date-input-day").val()
     questionDate = "#{questionDay}/#{questionMonth}/#{questionYear}"
 
     if not val

    question.find("input[type='checkbox']").length

  toDate: (str) ->
    moment(str, "DD/MM/YYYY")

  compareDateInDays: (date1, date2) ->
    date = @toDate(date1)

  validateBetweenDate: (question) ->
    val = question.find("input[type='text']").val()

    questionYear = question.find(".js-date-input-year").val()
    questionMonth = question.find(".js-date-input-month").val()
    questionDay = question.find(".js-date-input-day").val()
    questionDate = "#{questionDay}/#{questionMonth}/#{questionYear}"

    if not val
