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 12:i:00 0:00:00 12:00:00 00:i:00 12:i:00 0:00:00 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many methods does the DateTime class have? 10 11 8 9 10 11 8 9 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 1 4 3 2 1 4 3 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::setDate() DateTime::format() DateTime::setTime() DateTime::modify() DateTime::setDate() DateTime::format() DateTime::setTime() DateTime::modify() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following statements can be used to set the time zone in individual scripts? date_default_timezone_set(‘Europe/London’); date_set_default_timezone(‘Europe/London’); date_default_timezone(‘Europe/London’); date_set_timezone(‘Europe/London’); date_default_timezone_set(‘Europe/London’); date_set_default_timezone(‘Europe/London’); date_default_timezone(‘Europe/London’); date_set_timezone(‘Europe/London’); ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp .......... Returns the time of sunrise for a given day / location. date-sunrise() date_sunrise() date.sunrise() datesunrise() date-sunrise() date_sunrise() date.sunrise() datesunrise() ANSWER DOWNLOAD EXAMIANS APP