PHP Date and Timestamp What will be the output of the following PHP code?echo (checkdate(4,31,2010) ? 'Valid' : 'Invalid'); Invalid Valid TRUE FALSE Invalid Valid TRUE FALSE 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? strtotime(“-45 days”) totime(“+45”) strtotime(“+45 days”) totime(“+45 days”) strtotime(“-45 days”) totime(“+45”) strtotime(“+45 days”) totime(“+45 days”) ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The ......... function parses an English textual date or time into a Unix timestamp. strtotime() str_to_time() stroftime() strtodate() strtotime() str_to_time() stroftime() strtodate() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which one of the following function is useful for producing a timestamp based on a given date and time. mktime() time() mtime() mrtime() mktime() time() mtime() mrtime() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many methods does the DateTime class have? 11 8 9 10 11 8 9 10 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following statements can be used to add two months to the existing date? $date = modify(‘+2 months’); $date = modify(‘2+ months’); $date->modify(‘+2 months’); $date->modify(‘2+ months’); $date = modify(‘+2 months’); $date = modify(‘2+ months’); $date->modify(‘+2 months’); $date->modify(‘2+ months’); ANSWER DOWNLOAD EXAMIANS APP