I have 3 input text
<input class="form-control" id="year" name="year" type="text">
<input class="form-control" id="month" name="month" type="text">
<input class="form-control" id="day" name="day" type="text">
I know how to get 4 years ago, or 5 month ago or 3 days ago.. but how to combine three of them?