Which of the following is the right way to use the DateTime class?
1.$date = get_Class(DateTime);
2.$date = class DateTime;
3.$date = new DateTime();
4.$date = new class DateTime();
Answer:3
Posted Date:-2021-07-09 11:09:51