PHP Date and Timestamp Which of the following statements can be used to set the time zone in individual scripts? date_set_default_timezone(‘Europe/London’); date_set_timezone(‘Europe/London’); date_default_timezone(‘Europe/London’); date_default_timezone_set(‘Europe/London’); date_set_default_timezone(‘Europe/London’); date_set_timezone(‘Europe/London’); date_default_timezone(‘Europe/London’); date_default_timezone_set(‘Europe/London’); ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many methods does the DateTime class have? 10 9 11 8 10 9 11 8 ANSWER DOWNLOAD EXAMIANS APP
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 2 and 4 Option 2 and 4 Option 1 and 5 Option 1 and 4 Option 2 and 4 Option 2 and 4 Option 1 and 5 Option 1 and 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following is the right way to use the DateTime class? $date = new DateTime(); $date = class DateTime; $date = new class DateTime(); $date = get_Class(DateTime); $date = new DateTime(); $date = class DateTime; $date = new class DateTime(); $date = get_Class(DateTime); 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() 2 4 1 3 2 4 1 3 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") ) 22 JUNE 2013 30 22 JUNE 2013 30 ANSWER DOWNLOAD EXAMIANS APP