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 Which of the following statements can be used to set the time zone in individual scripts? date_set_timezone(‘Europe/London’); date_set_default_timezone(‘Europe/London’); date_default_timezone(‘Europe/London’); date_default_timezone_set(‘Europe/London’); date_set_timezone(‘Europe/London’); date_set_default_timezone(‘Europe/London’); date_default_timezone(‘Europe/London’); date_default_timezone_set(‘Europe/London’); ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method enables you to calculate whether daylight saving time is in force at a specific date and time? getTranitions() ISODate() getOffset() savingTime() getTranitions() ISODate() getOffset() savingTime() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many constants does the DateTime class have? 8 11 9 10 8 11 9 10 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp ................ Formats a local time or date according to locale settings. strhtime strgtime strftime stritime strhtime strgtime strftime stritime 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