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 2 and 4 Option 1 and 5 Option 1 and 4 Option 2 and 4 Option 2 and 4 Option 1 and 5 Option 1 and 4 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'); Valid TRUE FALSE Invalid Valid TRUE FALSE Invalid ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following is the right way to use the DateTime class? $date = new class DateTime(); $date = new DateTime(); $date = class DateTime; $date = get_Class(DateTime); $date = new class DateTime(); $date = new DateTime(); $date = class DateTime; $date = get_Class(DateTime); ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What is the difference, in seconds, between the current timestamp in the GMT time zone and the current timestamp in your local time zone? There is no difference It depends on the number of hours between the local time zone and GMT None of these The two will never match The two will only match if the local time zone is GMT There is no difference It depends on the number of hours between the local time zone and GMT None of these The two will never match The two will only match if the local time zone is GMT ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The getdate() function returns A floating-point number A Boolean An integer An array A string A floating-point number A Boolean An integer An array A 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") ) JUNE 30 22 2013 JUNE 30 22 2013 ANSWER DOWNLOAD EXAMIANS APP