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. datedefault_timezone_set() date_defaulttimezone_set() date_default_timezone_set() date_default_timezoneset() datedefault_timezone_set() date_defaulttimezone_set() date_default_timezone_set() date_default_timezoneset() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which function displays the web page’s most recent modification date? last_mod() getlastmod() get_last_mod() lastmod() last_mod() getlastmod() get_last_mod() lastmod() 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”) strtotime(“+45 days”) totime(“+45 days”) strtotime(“-45 days”) totime(“+45”) strtotime(“+45 days”) totime(“+45 days”) strtotime(“-45 days”) ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The getdate() function returns A string A floating-point number An integer A Boolean An array A string A floating-point number An integer A Boolean An array 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 The two will never match The two will only match if the local time zone is GMT None of these There is no difference It depends on the number of hours between the local time zone and GMT The two will never match The two will only match if the local time zone is GMT None of these There is no difference ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following is the right way to use the DateTime class? $date = new DateTime(); $date = get_Class(DateTime); $date = new class DateTime(); $date = class DateTime; $date = new DateTime(); $date = get_Class(DateTime); $date = new class DateTime(); $date = class DateTime; ANSWER DOWNLOAD EXAMIANS APP