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") )
?>A. 30
B. 22
C. JUNE
D. 2013
Answer: Option A
<?php
printf( date("t") )
?>A. 30
B. 22
C. JUNE
D. 2013
Answer: Option A
A. TRUE
B. FALSE
C. Valid
D. Invalid
The date() function returns ___ representation of the current date and/or time.
A. Integer
B. String
C. Boolean
D. Float
If the format is F then which one of the following will be returned?
A. Complete text representation of month
B. Day of month, with leading zero
C. Daylight saving time
D. Day of month, without zeros
Join The Discussion