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 What will the following script output?$time = strtotime ('2004/01/01');echo date ('H:i:s', $time); 0:00:00 12:00:00 12:i:00 00:i:00 0:00:00 12:00:00 12:i:00 00:i:00 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp You must make a call to ................... to specify what time zone you want calculations to take place in before calling any date functions. date_default_timezone_set() date_defaulttimezone_set() date_default_timezoneset() datedefault_timezone_set() date_default_timezone_set() date_defaulttimezone_set() date_default_timezoneset() datedefault_timezone_set() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The ......... function parses an English textual date or time into a Unix timestamp. str_to_time() stroftime() strtotime() strtodate() str_to_time() stroftime() strtotime() strtodate() 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_default_timezone(‘Europe/London’); date_set_timezone(‘Europe/London’); date_set_default_timezone(‘Europe/London’); date_default_timezone_set(‘Europe/London’); date_default_timezone(‘Europe/London’); date_set_timezone(‘Europe/London’); date_set_default_timezone(‘Europe/London’); date_default_timezone_set(‘Europe/London’); ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The date() function returns ___ representation of the current date and/or time. String Boolean Integer Float String Boolean Integer Float ANSWER DOWNLOAD EXAMIANS APP