PHP Date and Timestamp Which of the following is the right way to use the DateTime class? $date = get_Class(DateTime); $date = new DateTime(); $date = new class DateTime(); $date = class DateTime; $date = get_Class(DateTime); $date = new DateTime(); $date = new class DateTime(); $date = class DateTime; ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many methods does the DateTime class have? 8 9 10 11 8 9 10 11 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 nothing It would output the number 0 It would output the number 1 It would output the number -1 It would output nothing It would output the number 0 It would output the number 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::format() DateTime::setTime() DateTime::modify() DateTime::setDate() DateTime::format() DateTime::setTime() DateTime::modify() DateTime::setDate() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp .......... Returns the time of sunrise for a given day / location. date_sunrise() datesunrise() date-sunrise() date.sunrise() date_sunrise() datesunrise() date-sunrise() date.sunrise() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The ......... function parses an English textual date or time into a Unix timestamp. stroftime() str_to_time() strtotime() strtodate() stroftime() str_to_time() strtotime() strtodate() ANSWER DOWNLOAD EXAMIANS APP