1.

What will be the output of the following PHP code if date is 15/03/2019?<?php$date = new DateTime();echo $date->format('l,F,js,Y')?>

A. Friday,March,15th 2019
B. Sunday, 15 03 2019
C. Saturday, 15th March 2019
D. Friday, 15/03, 2019
E. None of these
Answer» B. Sunday, 15 03 2019


Discussion

No Comment Found