PHP Date and Timestamp Which of the following is the right way to use the DateTime class? $date = new class DateTime(); $date = class DateTime; $date = new DateTime(); $date = get_Class(DateTime); $date = new class DateTime(); $date = class DateTime; $date = new DateTime(); $date = get_Class(DateTime); 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 ................Checks a date for numeric validity. checkdate Verify_date verifydate check_date checkdate Verify_date verifydate check_date 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 Which one of the following format parameter can be used to identify timezone? N E I T N E I T ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What will be the output of the following PHP code?If say date is 22/06/2013.printf( date("t") ) JUNE 30 2013 22 JUNE 30 2013 22 ANSWER DOWNLOAD EXAMIANS APP