PHP Date and Timestamp How many constants does the DateTime class have? 10 8 11 9 10 8 11 9 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which one of the following format parameter can be used to identify timezone? N I E T N I E T 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? strtotime(“-45 days”) strtotime(“+45 days”) totime(“+45 days”) totime(“+45”) strtotime(“-45 days”) strtotime(“+45 days”) totime(“+45 days”) totime(“+45”) 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'); Valid TRUE FALSE Invalid Valid TRUE FALSE Invalid ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::format() DateTime::setTime() DateTime::modify() DateTime::setDate() DateTime::format() DateTime::setTime() DateTime::modify() DateTime::setDate() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp .......... Returns the time of sunrise for a given day / location. date_sunrise() date-sunrise() date.sunrise() datesunrise() date_sunrise() date-sunrise() date.sunrise() datesunrise() ANSWER DOWNLOAD EXAMIANS APP