Issue Task Closed

#56651Move date/time utility methods to own class

Bernhard Kraft 03/07/14, 13:16 updated 01/06/15, 21:15

Description

There are date/datetime/time utility methods spread all around the core. Some are implemented in BackendUtility, others in GeneralUtility and maybe even at other locations.

Those methods should get moved to the new “DateTimeUtility” class introduced by patch/review:
forge.typo3.org/issues/56200
https://review.typo3.org/#/c/28157/1,publish

Additionally there are bugfix patches/reviews for fixing leap year issues of the “calcAge” method:
http://forge.typo3.org/issues/20016
https://review.typo3.org/#/c/24635/
Those would have to get rebased

Reviews 1