My charitable contribution was postmarked 12/31/2018 and cashed in January of 2019. Am I required to count this deduction for 2018, or can I deduct it in 2019 instead?

I am planning to take the standard deduction in 2018, but I will have a new mortgage in 2019 and enough deductible mortgage interest that I expect to itemize in 2019.