PHP’s strtotime function makes working with user-inputted dates wonderfully simple…as long as you’re American. For the rest of us, here’s a simple way to make it correctly interpret dates in day/month/year order.
I wanted to make a better Gift Aid calculator for UK charity websites—one that’s easier to use, more eye-catching, and better explains how Gift Aid actually works. So I built one for the University of York. This tutorial will help you to build one too.