PHP Date and Timestamp The ......... function parses an English textual date or time into a Unix timestamp. strtodate() strtotime() stroftime() str_to_time() strtodate() strtotime() stroftime() str_to_time() 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, February 24th 2008 Sunday, 02 24 2008 Sunday, 24th February 2008 Sunday, 24 02 2008 Sunday, February 24th 2008 Sunday, 02 24 2008 Sunday, 24th February 2008 Sunday, 24 02 2008 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following is the right way to use the DateTime class? $date = new DateTime(); $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(); ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::setDate() DateTime::setTime() DateTime::modify() DateTime::format() DateTime::setDate() DateTime::setTime() DateTime::modify() DateTime::format() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Say you want to calculate the date 45 days from the present date which one of the following statement will you use? totime(“+45 days”) totime(“+45”) strtotime(“-45 days”) strtotime(“+45 days”) totime(“+45 days”) totime(“+45”) strtotime(“-45 days”) strtotime(“+45 days”) ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many constants does the DateTime class have? 9 8 11 10 9 8 11 10 ANSWER DOWNLOAD EXAMIANS APP