"> What will be the output of the following PHP code? If say

Home » PHP » PHP Date/Time » Question
  1. What will be the output of the following PHP code? If say date is 12/02/2019.
    <?php
    printf( date("t") )
    ?>
    1. 12
    2. 02
    3. 2019
    4. 28
    5. None of these
Correct Option: D

The t parameter is used to determine the number of days in the current month.



Your comments will be displayed only after manual approval.