PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::modify() DateTime::setDate() DateTime::format() DateTime::setTime() DateTime::modify() DateTime::setDate() DateTime::format() DateTime::setTime() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following statements can be used to add two months to the existing date? $date->modify(‘+2 months’); $date = modify(‘2+ months’); $date = modify(‘+2 months’); $date->modify(‘2+ months’); $date->modify(‘+2 months’); $date = modify(‘2+ months’); $date = modify(‘+2 months’); $date->modify(‘2+ months’); ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The date() function returns ___ representation of the current date and/or time. Boolean Integer String Float Boolean Integer String Float ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp .......... Returns the time of sunrise for a given day / location. datesunrise() date-sunrise() date.sunrise() date_sunrise() datesunrise() date-sunrise() date.sunrise() date_sunrise() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many methods does the DateTime class have? 10 8 9 11 10 8 9 11 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 = new class DateTime(); $date = get_Class(DateTime); $date = class DateTime; $date = new DateTime(); $date = new class DateTime(); $date = get_Class(DateTime); $date = class DateTime; ANSWER DOWNLOAD EXAMIANS APP