Menu

Snippets

Yet another programmer blogging about code

Posts Tagged ‘dates’

PHP DateInterval can’t have both weeks and days

Monday, January 30th, 2017

PHP has some handy Date classes, including one for specifying date intervals. But you need to be wary of some idiosyncrasies, as I just found out. (more…)