ExamVeda
Login
Home
This question belongs to PHP Date And Timestamp
Date and Timestamp
?

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

Answer & Solution
Correct Answer: Option A
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.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.