Archive for the ‘PHP’ Category

DateTime in PHP

Not so long ago, PHP introduced a new DateTime object. This object makes it easier to calculate a date and (re)format it, or make calculations with it. Apart from that, one might say it’s a lot cleaner, code-wise (if you’re an object-oriented type of programmer, like myself). The object is supported by a second object, [...]