PHP Date and Timestamp ................Checks a date for numeric validity. Verify_date check_date verifydate checkdate Verify_date check_date verifydate checkdate 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? The two will never match None of these It depends on the number of hours between the local time zone and GMT The two will only match if the local time zone is GMT There is no difference The two will never match None of these It depends on the number of hours between the local time zone and GMT The two will only match if the local time zone is GMT There is no difference ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following statements can be used to set the time zone in individual scripts? date_default_timezone_set(‘Europe/London’); date_default_timezone(‘Europe/London’); date_set_timezone(‘Europe/London’); date_set_default_timezone(‘Europe/London’); date_default_timezone_set(‘Europe/London’); date_default_timezone(‘Europe/London’); date_set_timezone(‘Europe/London’); date_set_default_timezone(‘Europe/London’); 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); 12:00:00 00:i:00 0:00:00 12:i:00 12:00:00 00:i:00 0:00:00 12:i:00 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 Invalid FALSE Valid TRUE Invalid FALSE 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 5 Option 2 and 4 Option 1 and 4 Option 2 and 4 Option 1 and 5 Option 2 and 4 Option 1 and 4 Option 2 and 4 ANSWER DOWNLOAD EXAMIANS APP