PHP Date and Timestamp Which of the following is the right way to use the DateTime class? $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(); $date = class DateTime; ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many constants does the DateTime class have? 9 8 10 11 9 8 10 11 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method enables you to calculate whether daylight saving time is in force at a specific date and time? getTranitions() ISODate() savingTime() getOffset() getTranitions() ISODate() savingTime() getOffset() 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") ) 22 2013 30 JUNE 22 2013 30 JUNE 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 How many methods does the DateTime class have? 10 8 11 9 10 8 11 9 ANSWER DOWNLOAD EXAMIANS APP