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 days”) strtotime(“+45 days”) totime(“+45”) strtotime(“-45 days”) totime(“+45 days”) strtotime(“+45 days”) totime(“+45”) strtotime(“-45 days”) ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What would happen if the following script were run on a Windows server set to Moscow, Russia’s time zone?echo gmmktime(0, 0, 0, 1, 1, 1970); It would output the number -1 It would output the number 0 It would output nothing It would output the number 1 It would output the number -1 It would output the number 0 It would output nothing It would output the number 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp If the format is F then which one of the following will be returned? Daylight saving time Complete text representation of month Day of month, without zeros Day of month, with leading zero Daylight saving time Complete text representation of month Day of month, without zeros Day of month, with leading zero 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
PHP Date and Timestamp How many constants does the DateTime class have? 8 10 9 11 8 10 9 11 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, 02 24 2008 Sunday, 24th February 2008 Sunday, 24 02 2008 Sunday, February 24th 2008 Sunday, 02 24 2008 Sunday, 24th February 2008 ANSWER DOWNLOAD EXAMIANS APP