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, 24 02 2008 Sunday, February 24th 2008 Sunday, 02 24 2008 Sunday, 24th February 2008 Sunday, 24 02 2008 Sunday, February 24th 2008 Sunday, 02 24 2008 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 3 1 2 4 3 1 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What will be the output of the following PHP code?echo (checkdate(4,31,2010) ? 'Valid' : 'Invalid'); FALSE Valid Invalid TRUE FALSE Valid Invalid TRUE ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many methods does the DateTime class have? 11 8 9 10 11 8 9 10 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 The two will only match if the local time zone is GMT None of these It depends on the number of hours between the local time zone and GMT The two will never match There is no difference The two will only match if the local time zone is GMT None of these 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 method enables you to calculate whether daylight saving time is in force at a specific date and time? ISODate() getTranitions() getOffset() savingTime() ISODate() getTranitions() getOffset() savingTime() ANSWER DOWNLOAD EXAMIANS APP