Vidyalelo
PHP · Q11

Date And Timestamp

Programming · PHP · question 11

Q11

How many methods does the DateTime class have?

A.
8
B.
9
Answer
C.
10
D.
11

Answer: Option B

Solution

Answer: Option B
Solution:
The DateTime class has nine methods, all of which are public.