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 = DateTime(“22 JUNE 2013”) $date = new Date(“JUNE 22 2013”) $date = Date(“22 JUNE 2013”) $date = new DateTime(“22 JUNE 2013”) $date = DateTime(“22 JUNE 2013”) $date = new Date(“JUNE 22 2013”) $date = Date(“22 JUNE 2013”) $date = new DateTime(“22 JUNE 2013”) ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The ......... function parses an English textual date or time into a Unix timestamp. str_to_time() strtotime() strtodate() stroftime() str_to_time() strtotime() strtodate() stroftime() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::format() DateTime::modify() DateTime::setTime() DateTime::setDate() DateTime::format() DateTime::modify() DateTime::setTime() DateTime::setDate() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp ................ Formats a local time or date according to locale settings. strgtime strftime stritime strhtime strgtime strftime stritime strhtime 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? getOffset() ISODate() getTranitions() savingTime() getOffset() ISODate() getTranitions() savingTime() 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”) totime(“+45”) strtotime(“+45 days”) totime(“+45 days”) strtotime(“-45 days”) totime(“+45”) strtotime(“+45 days”) totime(“+45 days”) ANSWER DOWNLOAD EXAMIANS APP