PHP Date and Timestamp What will be the output of the following PHP code?echo (checkdate(4,31,2010) ? 'Valid' : 'Invalid'); TRUE FALSE Invalid Valid TRUE FALSE Invalid Valid ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The date() function returns ___ representation of the current date and/or time. Integer Boolean String Float Integer Boolean String Float ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::setDate() DateTime::modify() DateTime::setTime() DateTime::format() DateTime::setDate() DateTime::modify() DateTime::setTime() DateTime::format() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What will be the output of the following code?If say date is 22/06/2013.echo "Today is ".date("F d, Y") Today is 22 June, 2013 Today is June 22, 2013 Today is 22-06-2013 Today is 06-22-2013 Today is 22 June, 2013 Today is June 22, 2013 Today is 22-06-2013 Today is 06-22-2013 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Say you want to calculate the date 45 days from the present date which one of the following statement will you use? totime(“+45”) strtotime(“+45 days”) strtotime(“-45 days”) totime(“+45 days”) totime(“+45”) strtotime(“+45 days”) strtotime(“-45 days”) totime(“+45 days”) 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() 1 4 2 3 1 4 2 3 ANSWER DOWNLOAD EXAMIANS APP