PHP Date and Timestamp Say you want to calculate the date 45 days from the present date which one of the following statement will you use? strtotime(“-45 days”) totime(“+45”) strtotime(“+45 days”) totime(“+45 days”) strtotime(“-45 days”) totime(“+45”) strtotime(“+45 days”) totime(“+45 days”) 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_timezoneset() date_defaulttimezone_set() datedefault_timezone_set() date_default_timezone_set() date_default_timezoneset() date_defaulttimezone_set() datedefault_timezone_set() date_default_timezone_set() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following is the right way to use the DateTime class? $date = new class DateTime(); $date = get_Class(DateTime); $date = new DateTime(); $date = class DateTime; $date = new class DateTime(); $date = get_Class(DateTime); $date = new DateTime(); $date = class DateTime; ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp ................ Formats a local time or date according to locale settings. strgtime strhtime stritime strftime strgtime strhtime stritime strftime 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 ................Checks a date for numeric validity. verifydate Verify_date check_date checkdate verifydate Verify_date check_date checkdate ANSWER DOWNLOAD EXAMIANS APP