PHP Date and Timestamp The getdate() function returns A floating-point number An integer A string An array A Boolean A floating-point number An integer A string An array A Boolean ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following statements can be used to add two months to the existing date? $date = modify(‘2+ months’); $date->modify(‘2+ months’); $date = modify(‘+2 months’); $date->modify(‘+2 months’); $date = modify(‘2+ months’); $date->modify(‘2+ months’); $date = modify(‘+2 months’); $date->modify(‘+2 months’); ANSWER DOWNLOAD EXAMIANS APP
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 1 2 3 4 1 2 3 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, February 24th 2008 Sunday, 24th February 2008 Sunday, 02 24 2008 Sunday, 24 02 2008 Sunday, February 24th 2008 Sunday, 24th February 2008 Sunday, 02 24 2008 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 06-22-2013 Today is 22-06-2013 Today is June 22, 2013 Today is 22 June, 2013 Today is 06-22-2013 Today is 22-06-2013 Today is June 22, 2013 Today is 22 June, 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 There is no difference 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 None of these There is no difference 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