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 If the format is F then which one of the following will be returned? 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 Complete text representation of month Day of month, without zeros 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. mtime() time() mktime() mrtime() mtime() time() mktime() mrtime() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many methods does the DateTime class have? 8 11 10 9 8 11 10 9 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:i:00 0:00:00 00:i:00 12:00:00 12:i:00 0:00:00 00:i:00 12:00:00 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following is the right way to use the DateTime class? $date = class DateTime; $date = get_Class(DateTime); $date = new DateTime(); $date = new class DateTime(); $date = class DateTime; $date = get_Class(DateTime); $date = new DateTime(); $date = new class DateTime(); ANSWER DOWNLOAD EXAMIANS APP