PHP Date and Timestamp 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’); $date->modify(‘+2 months’); $date = modify(‘2+ months’); $date->modify(‘2+ months’); $date = modify(‘+2 months’); ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many constants does the DateTime class have? 10 11 9 8 10 11 9 8 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following statements can be used to set the time zone in individual scripts? date_default_timezone(‘Europe/London’); date_default_timezone_set(‘Europe/London’); date_set_default_timezone(‘Europe/London’); date_set_timezone(‘Europe/London’); date_default_timezone(‘Europe/London’); date_default_timezone_set(‘Europe/London’); date_set_default_timezone(‘Europe/London’); date_set_timezone(‘Europe/London’); ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which function displays the web page’s most recent modification date? lastmod() get_last_mod() getlastmod() last_mod() lastmod() get_last_mod() getlastmod() last_mod() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::format() DateTime::setTime() DateTime::setDate() DateTime::modify() DateTime::format() DateTime::setTime() DateTime::setDate() DateTime::modify() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What will be the output of the following PHP code?If say date is 22/06/2013.printf( date("t") ) 2013 30 22 JUNE 2013 30 22 JUNE ANSWER DOWNLOAD EXAMIANS APP