Which method is simply an object-oriented version of date()?

Which method is simply an object-oriented version of date()? Correct Answer DateTime::format()

The format() method is simply an object-oriented version of date(). It takes $dateFormat as an argument. $dateFormat is a string consisting of the same date formatting characters accepted by the procedural date() function.

Related Questions

The natural frequency of free transverse vibrations due to uniformly distributed load acting over a simply supported shaft is (where $$\delta {\text{S}}$$ = Static deflection of simply supported shaft due to uniformly distributed load)
The natural frequency of free transverse vibrations due to a point load acting over a simply supported shaft is equal to (where $$\delta $$ = Static deflection of a simply supported shaft due to the point load)
After upgrading your computer to a new DOS version, an older application displays the error message "Incorrect DOS version". What should you do to run this application?
Which version added the method getPrevious()?