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 days”) strtotime(“+45 days”) strtotime(“-45 days”) totime(“+45”) totime(“+45 days”) strtotime(“+45 days”) strtotime(“-45 days”) totime(“+45”) ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many methods does the DateTime class have? 11 9 10 8 11 9 10 8 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many constants does the DateTime class have? 8 11 10 9 8 11 10 9 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp To create an object and set the date to JUNE 22, 2013, which one of the following statement should be executed? $date = new DateTime(“22 JUNE 2013”) $date = Date(“22 JUNE 2013”) $date = DateTime(“22 JUNE 2013”) $date = new Date(“JUNE 22 2013”) $date = new DateTime(“22 JUNE 2013”) $date = Date(“22 JUNE 2013”) $date = DateTime(“22 JUNE 2013”) $date = new Date(“JUNE 22 2013”) ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The getdate() function returns An integer A floating-point number A Boolean A string An array An integer A floating-point number A Boolean A string An array ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method enables you to calculate whether daylight saving time is in force at a specific date and time? savingTime() getTranitions() getOffset() ISODate() savingTime() getTranitions() getOffset() ISODate() ANSWER DOWNLOAD EXAMIANS APP