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 = class DateTime; $date = get_Class(DateTime); $date = new DateTime(); $date = new class DateTime(); $date = class DateTime; $date = get_Class(DateTime); ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::format() DateTime::modify() DateTime::setDate() DateTime::setTime() DateTime::format() DateTime::modify() DateTime::setDate() DateTime::setTime() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many constants does the DateTime class have? 10 9 11 8 10 9 11 8 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp .......... Returns the time of sunrise for a given day / location. date-sunrise() date.sunrise() datesunrise() date_sunrise() date-sunrise() date.sunrise() datesunrise() date_sunrise() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following functions do not return a timestamp?1. time()2. date()3. strtotime()4. localtime()5. gmmktime() Option 2 and 4 Option 1 and 4 Option 2 and 4 Option 1 and 5 Option 2 and 4 Option 1 and 4 Option 2 and 4 Option 1 and 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The getdate() function returns An integer A floating-point number A Boolean An array A string An integer A floating-point number A Boolean An array A string ANSWER DOWNLOAD EXAMIANS APP