PHP Date and Timestamp What will the following script output?$time = strtotime ('2004/01/01');echo date ('H:i:s', $time); 12:00:00 00:i:00 0:00:00 12:i:00 12:00:00 00:i:00 0:00:00 12:i:00 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following is the right way to use the DateTime class? $date = new class DateTime(); $date = get_Class(DateTime); $date = new DateTime(); $date = class DateTime; $date = new class DateTime(); $date = get_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? 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 There is no difference None of these The two will never match 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 There is no difference None of these The two will never match 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, 02 24 2008 Sunday, February 24th 2008 Sunday, 24 02 2008 Sunday, 24th February 2008 Sunday, 02 24 2008 Sunday, February 24th 2008 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which one of the following function is useful for producing a timestamp based on a given date and time. mrtime() mtime() time() mktime() mrtime() mtime() time() mktime() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The getdate() function returns A floating-point number A Boolean An array An integer A string A floating-point number A Boolean An array An integer A string ANSWER DOWNLOAD EXAMIANS APP