PHP Date and Timestamp What will the following script output?$time = strtotime ('2004/01/01');echo date ('H:i:s', $time); 0:00:00 12:i:00 00:i:00 12:00:00 0:00:00 12:i:00 00:i:00 12:00:00 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp If the format is F then which one of the following will be returned? Complete text representation of month Day of month, without zeros Day of month, with leading zero Daylight saving time Complete text representation of month Day of month, without zeros Day of month, with leading zero Daylight saving time ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp ................Checks a date for numeric validity. checkdate check_date verifydate Verify_date checkdate check_date verifydate Verify_date 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 Invalid FALSE TRUE Valid Invalid FALSE TRUE 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 1 and 4 Option 2 and 4 Option 2 and 4 Option 1 and 5 Option 1 and 4 Option 2 and 4 Option 2 and 4 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 days”) totime(“+45”) strtotime(“+45 days”) strtotime(“-45 days”) totime(“+45 days”) totime(“+45”) strtotime(“+45 days”) strtotime(“-45 days”) ANSWER DOWNLOAD EXAMIANS APP