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, February 24th 2008 Sunday, 02 24 2008 Sunday, 24 02 2008 Sunday, 24th February 2008 Sunday, February 24th 2008 Sunday, 02 24 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 = get_Class(DateTime); $date = new class DateTime(); $date = new DateTime(); $date = class DateTime; $date = get_Class(DateTime); $date = new class DateTime(); $date = new DateTime(); $date = class DateTime; 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? 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 The two will never match 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 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 Option 2 and 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The getdate() function returns A floating-point number A Boolean An integer An array A string A floating-point number A Boolean An integer An array A string 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? getOffset() savingTime() ISODate() getTranitions() getOffset() savingTime() ISODate() getTranitions() ANSWER DOWNLOAD EXAMIANS APP