Yes. Health savings account (HSA) contributions for the eligible individual's taxable year (which, for almost everyone, is the calendar year) must be made by the income tax return filing date for that year.
For example, all contributions for 2015 would have to be made by April 15, 2016, the date for filing the 2015 federal income tax return, without extensions.