Home

What is the correct answer?

4

What will be the output of the following code? If say date is 22/06/2013.
     <?php      echo Today is .date(F d, Y)     ?> 

A. Today is 22 June, 2013

B. Today is 22-06-2013

C. Today is 06-22-2013

D. Today is June 22, 2013

Correct Answer :

D. Today is June 22, 2013


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

Related Questions

What will be the output of the following PHP code ? <?php $color1 =… Which function displays the web pages most recent modification date? What will be the output of the following PHP code? <?php echo (checkdate(4,31,2010)… What will be the output of the following PHP code ? <?php $i = 2;while… How many ways can a session data be stored? What will be the output of the following PHP code ? <?php $i = 5;while… What will be the output of the following PHP code? <?php $cars = array(Volvo,… What will be the output of the following PHP code ? <?php $i = 0;while… What will be the output of the following PHP code ? <?php $color1 =… What will be the output of the following PHP code ? <?php define(GREETING,… What will be the output of the following PHP code? <?php $a1 = array_fill(3,… What will be the output of the following PHP code? <?php $fname = array(Peter,… What is the default number of seconds that cached session pages are made… Which of following variables can be assigned a value to it?i) $3helloii)… What will be the output of the following PHP code ? <?php class Constants{… What will be the output of the following PHP code ? <?php $i = 0;while… Which one of the following function is useful for producing a timestamp… What will be the output of the following PHP code ? <?php define('IF',… Which of the following PHP statements will output Hello World on the screen?i)… To create an object and set the date to JUNE 22, 2013, which one of the… What will be the output of the following PHP code ? <?php $i = 5;while… Which one of the following is the very first task executed by a session… What will be the output of the following PHP code ? <?php define(GREETING,… What will be the output of the following PHP code ? <?php $color1 =… What will be the output of the following PHP code ? <?php $color =… What will be the output of the following PHP code? <?php $a = array(a=>red,… Which of the following is/are a PHP code editor?i) Notepadii) Notepad++iii)… What will be the output of the following PHP code ? <?php define(__LINE__,… What will be the output of the following PHP code ? <?php $color1 =… Which one of the following is the default PHP session name?