PHP Date and Timestamp The getdate() function returns An array A string A floating-point number An integer A Boolean An array A string A floating-point number An integer A Boolean ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What is the difference, in seconds, between the current timestamp in the GMT time zone and the current timestamp in your local time zone? It depends on the number of hours between the local time zone and GMT There is no difference None of these The two will never match The two will only match if the local time zone is GMT It depends on the number of hours between the local time zone and GMT There is no difference None of these The two will never match The two will only match if the local time zone is GMT 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 1 and 5 Option 2 and 4 Option 2 and 4 Option 1 and 4 Option 1 and 5 Option 2 and 4 Option 2 and 4 Option 1 and 4 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 How many methods does the DateTime class have? 11 9 10 8 11 9 10 8 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many constants does the DateTime class have? 9 10 8 11 9 10 8 11 ANSWER DOWNLOAD EXAMIANS APP