PHP Date and Timestamp Which of the following functions do not return a timestamp?1. time()2. date()3. strtotime()4. localtime()5. gmmktime() Option 1 and 5 Option 2 and 4 Option 2 and 4 Option 1 and 4 Option 1 and 5 Option 2 and 4 Option 2 and 4 Option 1 and 4 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 June, 2013 Today is 22-06-2013 Today is June 22, 2013 Today is 06-22-2013 Today is 22 June, 2013 Today is 22-06-2013 Today is June 22, 2013 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? totime(“+45”) strtotime(“+45 days”) strtotime(“-45 days”) totime(“+45 days”) totime(“+45”) strtotime(“+45 days”) strtotime(“-45 days”) totime(“+45 days”) 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 00:i:00 0:00:00 12:i:00 12:00:00 00:i:00 0:00:00 12:i:00 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which one of the following format parameter can be used to identify timezone? N T E I N T E I ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following is the right way to use the DateTime class? $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); $date = new DateTime(); ANSWER DOWNLOAD EXAMIANS APP