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, 24th February 2008 Sunday, 24 02 2008 Sunday, 02 24 2008 Sunday, February 24th 2008 Sunday, 24th February 2008 Sunday, 24 02 2008 Sunday, 02 24 2008 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What is the difference, in seconds, between the current timestamp in the GMT time zone and the current timestamp in your local time zone? The two will never match There is no difference None of these The two will only match if the local time zone is GMT It depends on the number of hours between the local time zone and GMT The two will never match There is no difference None of these The two will only match if the local time zone is GMT It depends on the number of hours between the local time zone and GMT ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following functions do not return a timestamp?1. time()2. date()3. strtotime()4. localtime()5. gmmktime() Option 2 and 4 Option 1 and 4 Option 2 and 4 Option 1 and 5 Option 2 and 4 Option 1 and 4 Option 2 and 4 Option 1 and 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp ................ Formats a local time or date according to locale settings. strhtime stritime strgtime strftime strhtime stritime strgtime strftime ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many constants does the DateTime class have? 11 9 8 10 11 9 8 10 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The getdate() function returns A string An integer An array A Boolean A floating-point number A string An integer An array A Boolean A floating-point number ANSWER DOWNLOAD EXAMIANS APP