In the documentation for the CPAN module DateTime I found the following:
Once you set the formatter, the overloaded stringification method will use th
Just adding to the above answer, to draw an analogy with java ...
Much similar to Object.toString() in Java. Omni-present by default but could be over-ridden when required.