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”) totime(“+45”) totime(“+45 days”) strtotime(“-45 days”) strtotime(“+45 days”) totime(“+45”) totime(“+45 days”) strtotime(“-45 days”) 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? None of these The two will only match if the local time zone is GMT There is no difference It depends on the number of hours between the local time zone and GMT The two will never match None of these The two will only match if the local time zone is GMT There is no difference It depends on the number of hours between the local time zone and GMT The two will never match ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp .......... Returns the time of sunrise for a given day / location. datesunrise() date.sunrise() date-sunrise() date_sunrise() datesunrise() date.sunrise() date-sunrise() date_sunrise() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::setDate() DateTime::format() DateTime::modify() DateTime::setTime() DateTime::setDate() DateTime::format() DateTime::modify() DateTime::setTime() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Among the four PHP DateTimeZone classes given below how many are nonstatic?1. _construct()2. getName()3. getOffset()4. getTransitions() 1 4 2 3 1 4 2 3 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What will the following script output?$time = strtotime ('2004/01/01');echo date ('H:i:s', $time); 00:i:00 12:i:00 12:00:00 0:00:00 00:i:00 12:i:00 12:00:00 0:00:00 ANSWER DOWNLOAD EXAMIANS APP