"/>
Home / CSE / PHP - CS :: Discussion

Discussion :: PHP - CS

  1. What will be the output of the following code? If say date is 22/06/2013.

    <?php

    echo "Today is ".date("F d, Y")

    ?>

  2. A.

     Today is 22 June, 2013

    B.

     Today is 22-06-2013

    C.

     Today is 06-22-2013

    D.

     Today is June 22, 2013

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    F is the parameter for complete text representation of month, d for day of month, and Y for 4 digit representation of year.


Be The First To Comment