PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::format() DateTime::setTime() DateTime::setDate() DateTime::modify() DateTime::format() DateTime::setTime() DateTime::setDate() DateTime::modify() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp ................Checks a date for numeric validity. verifydate check_date checkdate Verify_date verifydate check_date checkdate Verify_date ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp To create an object and set the date to JUNE 22, 2013, which one of the following statement should be executed? $date = Date(“22 JUNE 2013”) $date = DateTime(“22 JUNE 2013”) $date = new DateTime(“22 JUNE 2013”) $date = new Date(“JUNE 22 2013”) $date = Date(“22 JUNE 2013”) $date = DateTime(“22 JUNE 2013”) $date = new DateTime(“22 JUNE 2013”) $date = new Date(“JUNE 22 2013”) 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() 3 1 4 2 3 1 4 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The getdate() function returns A floating-point number An array A string An integer A Boolean A floating-point number An array A string An integer A Boolean 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_timezone(‘Europe/London’); date_set_default_timezone(‘Europe/London’); date_default_timezone(‘Europe/London’); date_default_timezone_set(‘Europe/London’); date_set_timezone(‘Europe/London’); date_set_default_timezone(‘Europe/London’); date_default_timezone(‘Europe/London’); ANSWER DOWNLOAD EXAMIANS APP