When I try to make the assertion below: var date1 = '2016-01-01T10:00:14.876Z'; var date2 = new Date(date1); expect(date1).to.equalDate(date2); I get this exception: TypeError: date.toDateString is not a function at Object.chai.datetime...
$dtBerlin->setToStringFormat('l jS \\of F Y');echo$dtBerlin ."\n";echo(int) $dtBerlin->isLeapYear() ."\n";// is* range of functions testprintf("Is yesterday? %s\n", $dtBerlin->isYesterday() ?"yes":"no"); printf("Is a Thursday? %s\n", $dtBerlin->isThursday() ?"yes...