The date() function returns ___ representation of the current date and/or time. Float Integer String Boolean TRUE ANSWER : ? YOUR ANSWER : ?
................Checks a date for numeric validity. check_date verifydate checkdate Verify_date TRUE ANSWER : ? YOUR ANSWER : ?
Which function displays the web page’s most recent modification date? lastmod() get_last_mod() last_mod() getlastmod() TRUE ANSWER : ? YOUR ANSWER : ?
What will the following script output?<br/>$time = strtotime ('2004/01/01');<br/>echo date ('H:i:s', $time); 12:00:00 0:00:00 00:i:00 12:i:00 TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following statements can be used to add two months to the existing date? $date->modify(‘2+ months’); $date = modify(‘2+ months’); $date->modify(‘+2 months’); $date = modify(‘+2 months’); TRUE ANSWER : ? YOUR ANSWER : ?
What would happen if the following script were run on a Windows server set to Moscow, Russia’s time zone?<br/>echo gmmktime(0, 0, 0, 1, 1, 1970); It would output the number 0 It would output the number 1 It would output the number -1 It would output nothing TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following functions do not return a timestamp?<br/>1. time()<br/>2. date()<br/>3. strtotime()<br/>4. localtime()<br/>5. gmmktime() Option 2 and 4 Option 1 and 4 Option 2 and 4 Option 1 and 5 TRUE ANSWER : ? YOUR ANSWER : ?
If the format is F then which one of the following will be returned? Complete text representation of month Daylight saving time Day of month, with leading zero Day of month, without zeros TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code if date is 24/02/2008?<br/>$date = new DateTime();<br/>echo $date->format('l,F,js,Y') Sunday, 24 02 2008 Sunday, 24th February 2008 Sunday, 02 24 2008 Sunday, February 24th 2008 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>echo (checkdate(4,31,2010) ? 'Valid' : 'Invalid'); Valid Invalid FALSE TRUE TRUE ANSWER : ? YOUR ANSWER : ?