1. What will be the output of the following PHP code?
<?php
echo (checkdate(4,31,2010) ? 'Valid' : 'Invalid');
?>
<?php
echo (checkdate(4,31,2010) ? 'Valid' : 'Invalid');
?>
2. The date() function returns ___ representation of the current date and/or time.
3. Which one of the following format parameter can be used to identify timezone?
4. If the format is F then which one of the following will be returned?
5. What will be the output of the following code? If say date is 22/06/2013.
<?php
echo "Today is ".date("F d, Y")
?>
<?php
echo "Today is ".date("F d, Y")
?>
6. Which one of the following function is useful for producing a timestamp based on a given date and time.
7. Which function displays the web page’s most recent modification date?
8. What will be the output of the following PHP code? If say date is 22/06/2013.
<?php
printf( date("t") )
?>
<?php
printf( date("t") )
?>