PHP Date and Timestamp Which of the following is the right way to use the DateTime class? $date = new class DateTime(); $date = new DateTime(); $date = class DateTime; $date = get_Class(DateTime); $date = new class DateTime(); $date = new DateTime(); $date = class DateTime; $date = get_Class(DateTime); ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::setTime() DateTime::format() DateTime::modify() DateTime::setDate() DateTime::setTime() DateTime::format() DateTime::modify() DateTime::setDate() 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. datedefault_timezone_set() date_defaulttimezone_set() date_default_timezoneset() date_default_timezone_set() datedefault_timezone_set() date_defaulttimezone_set() date_default_timezoneset() date_default_timezone_set() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What will be the output of the following PHP code?echo (checkdate(4,31,2010) ? 'Valid' : 'Invalid'); Invalid TRUE Valid FALSE Invalid TRUE Valid FALSE ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many constants does the DateTime class have? 9 11 8 10 9 11 8 10 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. mtime() mktime() mrtime() time() mtime() mktime() mrtime() time() ANSWER DOWNLOAD EXAMIANS APP