No more need of Dateinterval

With a minor change less code, more readable and no more need of Dateinterval