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, 02 24 2008 Sunday, February 24th 2008 Sunday, 24 02 2008 Sunday, 24th February 2008 Sunday, 02 24 2008 Sunday, February 24th 2008 Sunday, 24 02 2008 Sunday, 24th February 2008 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Among the four PHP DateTimeZone classes given below how many are nonstatic?1. _construct()2. getName()3. getOffset()4. getTransitions() 2 3 4 1 2 3 4 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); 12:00:00 12:i:00 00:i:00 0:00:00 12:00:00 12:i:00 00:i:00 0:00:00 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 06-22-2013 Today is 22-06-2013 Today is 22 June, 2013 Today is June 22, 2013 Today is 06-22-2013 Today is 22-06-2013 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 Invalid TRUE Valid FALSE Invalid TRUE Valid 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 None of these The two will never match 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 None of these The two will never match It depends on the number of hours between the local time zone and GMT There is no difference ANSWER DOWNLOAD EXAMIANS APP