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 Which one of the following function is useful for producing a timestamp based on a given date and time. time() mtime() mrtime() mktime() time() mtime() mrtime() mktime() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp ................ Formats a local time or date according to locale settings. strgtime stritime strftime strhtime strgtime stritime strftime strhtime 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? getOffset() getTranitions() savingTime() ISODate() getOffset() getTranitions() savingTime() ISODate() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The date() function returns ___ representation of the current date and/or time. Float Integer Boolean String Float Integer Boolean String ANSWER DOWNLOAD EXAMIANS APP
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? totime(“+45 days”) strtotime(“+45 days”) strtotime(“-45 days”) totime(“+45”) totime(“+45 days”) strtotime(“+45 days”) strtotime(“-45 days”) totime(“+45”) ANSWER DOWNLOAD EXAMIANS APP