PHP Date and Timestamp What will be the output of the following PHP code?echo (checkdate(4,31,2010) ? 'Valid' : 'Invalid'); Valid FALSE Invalid TRUE Valid FALSE Invalid TRUE 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
PHP Date and Timestamp The ......... function parses an English textual date or time into a Unix timestamp. strtotime() strtodate() str_to_time() stroftime() strtotime() strtodate() str_to_time() stroftime() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many constants does the DateTime class have? 10 9 11 8 10 9 11 8 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp If the format is F then which one of the following will be returned? Daylight saving time 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 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The date() function returns ___ representation of the current date and/or time. Float Boolean Integer String Float Boolean Integer String ANSWER DOWNLOAD EXAMIANS APP