Examveda
Examveda

How many methods does the DateTime class have?

A. 8

B. 9

C. 10

D. 11

Answer: Option B

Solution(By Examveda Team)

The DateTime class has nine methods, all of which are public.

This Question Belongs to PHP >> Date And Timestamp

Join The Discussion

Related Questions on Date and Timestamp