PHP Date and Timestamp Among the four PHP DateTimeZone classes given below how many are static?1. listAbbreviations()2. getName()3. getOffset()4. listIdentifiers() 4 3 2 1 4 3 2 1 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); 0:00:00 12:00:00 00:i:00 12:i:00 0:00:00 12:00:00 00:i:00 12:i:00 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The getdate() function returns An array A Boolean An integer A floating-point number A string An array A Boolean An integer A floating-point number A string ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What will be the output of the following code?If say date is 22/06/2013.echo "Today is ".date("F d, Y") Today is 22 June, 2013 Today is June 22, 2013 Today is 22-06-2013 Today is 06-22-2013 Today is 22 June, 2013 Today is June 22, 2013 Today is 22-06-2013 Today is 06-22-2013 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? None of these It depends on the number of hours between the local time zone and GMT There is no difference The two will only match if the local time zone is GMT The two will never match None of these It depends on the number of hours between the local time zone and GMT There is no difference The two will only match if the local time zone is GMT The two will never match ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::modify() DateTime::setTime() DateTime::format() DateTime::setDate() DateTime::modify() DateTime::setTime() DateTime::format() DateTime::setDate() ANSWER DOWNLOAD EXAMIANS APP