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? strtotime(“-45 days”) totime(“+45”) totime(“+45 days”) strtotime(“+45 days”) strtotime(“-45 days”) totime(“+45”) totime(“+45 days”) strtotime(“+45 days”) ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::format() DateTime::modify() DateTime::setDate() DateTime::setTime() DateTime::format() DateTime::modify() DateTime::setDate() DateTime::setTime() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Among the four PHP DateTimeZone classes given below how many are nonstatic?1. _construct()2. getName()3. getOffset()4. getTransitions() 1 4 3 2 1 4 3 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What would happen if the following script were run on a Windows server set to Moscow, Russia’s time zone?echo gmmktime(0, 0, 0, 1, 1, 1970); It would output the number -1 It would output the number 1 It would output the number 0 It would output nothing It would output the number -1 It would output the number 1 It would output the number 0 It would output nothing 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") ) 30 JUNE 2013 22 30 JUNE 2013 22 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following functions do not return a timestamp?1. time()2. date()3. strtotime()4. localtime()5. gmmktime() Option 1 and 4 Option 1 and 5 Option 2 and 4 Option 2 and 4 Option 1 and 4 Option 1 and 5 Option 2 and 4 Option 2 and 4 ANSWER DOWNLOAD EXAMIANS APP