PHP Date and Timestamp How many methods does the DateTime class have? 11 8 10 9 11 8 10 9 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'); FALSE Valid TRUE Invalid FALSE Valid TRUE Invalid ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following is the right way to use the DateTime class? $date = get_Class(DateTime); $date = new class DateTime(); $date = class DateTime; $date = new DateTime(); $date = get_Class(DateTime); $date = new class DateTime(); $date = class DateTime; $date = new DateTime(); ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What will the following script output?$time = strtotime ('2004/01/01');echo date ('H:i:s', $time); 00:i:00 12:i:00 12:00:00 0:00:00 00:i:00 12:i:00 12:00:00 0:00:00 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 2 and 4 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 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::setDate() DateTime::setTime() DateTime::format() DateTime::modify() DateTime::setDate() DateTime::setTime() DateTime::format() DateTime::modify() ANSWER DOWNLOAD EXAMIANS APP