PHP Date and Timestamp The getdate() function returns A floating-point number An array A Boolean An integer A string A floating-point number An array A Boolean An integer A string 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:00:00 0:00:00 12:i:00 00:i:00 12:00:00 0:00:00 12:i:00 00:i:00 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The ......... function parses an English textual date or time into a Unix timestamp. stroftime() strtodate() str_to_time() strtotime() stroftime() strtodate() str_to_time() strtotime() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::setDate() DateTime::format() DateTime::setTime() DateTime::modify() DateTime::setDate() DateTime::format() DateTime::setTime() DateTime::modify() 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 Day of month, without zeros Daylight saving time Complete text representation of month Day of month, with leading zero Day of month, without zeros Daylight saving time Complete text representation of month 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, 24th February 2008 Sunday, 02 24 2008 Sunday, February 24th 2008 Sunday, 24 02 2008 Sunday, 24th February 2008 Sunday, 02 24 2008 Sunday, February 24th 2008 Sunday, 24 02 2008 ANSWER DOWNLOAD EXAMIANS APP