PHP Date and Timestamp The ......... function parses an English textual date or time into a Unix timestamp. strtodate() str_to_time() stroftime() strtotime() strtodate() str_to_time() stroftime() strtotime() 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 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 It would output the number -1 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 5 Option 1 and 4 Option 2 and 4 Option 2 and 4 Option 1 and 5 Option 1 and 4 Option 2 and 4 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 None of these There is no difference 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 None of these There is no difference 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 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 Among the four PHP DateTimeZone classes given below how many are static?1. listAbbreviations()2. getName()3. getOffset()4. listIdentifiers() 2 3 4 1 2 3 4 1 ANSWER DOWNLOAD EXAMIANS APP