PHP Date and Timestamp Which of the following is the right way to use the DateTime class? $date = new DateTime(); $date = new class DateTime(); $date = class DateTime; $date = get_Class(DateTime); $date = new DateTime(); $date = new class DateTime(); $date = class DateTime; $date = get_Class(DateTime); ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp .......... Returns the time of sunrise for a given day / location. date.sunrise() date-sunrise() datesunrise() date_sunrise() date.sunrise() date-sunrise() datesunrise() date_sunrise() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What will be the output of the following PHP code?If say date is 22/06/2013.printf( date("t") ) JUNE 22 30 2013 JUNE 22 30 2013 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); 00:i:00 12:00:00 12:i:00 0:00:00 00:i:00 12:00:00 12:i:00 0:00:00 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Say you want to calculate the date 45 days from the present date which one of the following statement will you use? strtotime(“-45 days”) strtotime(“+45 days”) totime(“+45”) totime(“+45 days”) strtotime(“-45 days”) strtotime(“+45 days”) totime(“+45”) totime(“+45 days”) ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which one of the following format parameter can be used to identify timezone? T N I E T N I E ANSWER DOWNLOAD EXAMIANS APP