CSE :: PHP - CS
-
What will be the output of the following PHP code?
<?php
echo (checkdate(4,31,2010) ? 'Valid' : 'Invalid');
?>
- The date() function returns ___ representation of the current date and/or time.
- If the format is F then which one of the following will be returned?
-
What will be the output of the following code? If say date is 22/06/2013.
<?php
echo "Today is ".date("F d, Y")
?>
- Which one of the following function is useful for producing a timestamp based on a given date and time.
- Which function displays the web page’s most recent modification date?
-
What will be the output of the following PHP code? If say date is 22/06/2013.
<?php
printf( date("t") )
?>
- Say you want to calculate the date 45 days from the present date which one of the following statement will you use?
- To create an object and set the date to JUNE 22, 2013, which one of the following statement should be executed?