PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::modify() DateTime::setTime() DateTime::format() DateTime::setDate() DateTime::modify() DateTime::setTime() DateTime::format() DateTime::setDate() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The date() function returns ___ representation of the current date and/or time. Integer Boolean String Float Integer Boolean String Float ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Among the four PHP DateTimeZone classes given below how many are nonstatic?1. _construct()2. getName()3. getOffset()4. getTransitions() 1 4 3 2 1 4 3 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What will be the output of the following PHP code?echo (checkdate(4,31,2010) ? 'Valid' : 'Invalid'); FALSE Invalid Valid TRUE FALSE Invalid Valid TRUE 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_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’); 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 0:00:00 12:00:00 12:i:00 00:i:00 0:00:00 12:00:00 12:i:00 ANSWER DOWNLOAD EXAMIANS APP