Hi TomH,
It is mentioned that TBS "now can merge DateTime objects and also objects with the magic method __toString().".
But DateTime doesn't have a magic method __toString(). At least we cannot say if it has one.
DateTime is an internal PHP class provided since version 5. It enables you manage dates and times values with objects in one hand, and to expend the support of dates and times in another hand. For example, it can manage dates before 01/01/1970, that was not possible with simple date/time functions before.
__toString() is a magic method for PHP class. If you create your own class, and if you add to this class a method (i.e. a function) named __toString(), then this method will be automatically invoked when the code tries to implicitly convert the object to a string. For example, when you code:
or