PHP Date and Timestamp What will be the output of the following PHP code?echo (checkdate(4,31,2010) ? 'Valid' : 'Invalid'); Valid TRUE Invalid FALSE Valid TRUE Invalid FALSE ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::modify() DateTime::format() DateTime::setTime() DateTime::setDate() DateTime::modify() DateTime::format() DateTime::setTime() DateTime::setDate() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which function displays the web page’s most recent modification date? get_last_mod() lastmod() last_mod() getlastmod() get_last_mod() lastmod() last_mod() getlastmod() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The date() function returns ___ representation of the current date and/or time. Boolean Integer String Float Boolean Integer String Float 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() date_default_timezone_set() datedefault_timezone_set() date_default_timezoneset() date_defaulttimezone_set() date_default_timezone_set() datedefault_timezone_set() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following is the right way to use the DateTime class? $date = get_Class(DateTime); $date = new DateTime(); $date = class DateTime; $date = new class DateTime(); $date = get_Class(DateTime); $date = new DateTime(); $date = class DateTime; $date = new class DateTime(); ANSWER DOWNLOAD EXAMIANS APP