'What's the point of the procedural DateTime functions?

I'm confused about why the PHP procedural DateTime functions like (date_create_from_format() and dateAdd()) exist.

They still operate on and return DateTime objects, so using them doesn't avoid OOP. I assume that there's a reason for their existence, but can't think of what it is.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source