PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::setTime() DateTime::setDate() DateTime::format() DateTime::modify() DateTime::setTime() DateTime::setDate() DateTime::format() DateTime::modify() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Among the four PHP DateTimeZone classes given below how many are static?1. listAbbreviations()2. getName()3. getOffset()4. listIdentifiers() 2 3 4 1 2 3 4 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The date() function returns ___ representation of the current date and/or time. Float Boolean Integer String Float Boolean Integer String 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 JUNE 22 2013 30 JUNE 22 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What will be the output of the following PHP code?echo (checkdate(4,31,2010) ? 'Valid' : 'Invalid'); TRUE Invalid Valid FALSE TRUE Invalid Valid FALSE ANSWER DOWNLOAD EXAMIANS APP
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