PHP Date and Timestamp How many methods does the DateTime class have? 10 11 8 9 10 11 8 9 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many constants does the DateTime class have? 11 8 10 9 11 8 10 9 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::modify() DateTime::setTime() DateTime::setDate() DateTime::format() DateTime::modify() DateTime::setTime() DateTime::setDate() DateTime::format() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following is the right way to use the DateTime class? $date = get_Class(DateTime); $date = class DateTime; $date = new class DateTime(); $date = new DateTime(); $date = get_Class(DateTime); $date = class DateTime; $date = new class DateTime(); $date = new DateTime(); ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What will be the output of the following PHP code if date is 24/02/2008?$date = new DateTime();echo $date->format('l,F,js,Y') Sunday, 24 02 2008 Sunday, 24th February 2008 Sunday, February 24th 2008 Sunday, 02 24 2008 Sunday, 24 02 2008 Sunday, 24th February 2008 Sunday, February 24th 2008 Sunday, 02 24 2008 ANSWER DOWNLOAD EXAMIANS APP