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 = Date(“22 JUNE 2013”) $date = new DateTime(“22 JUNE 2013”) $date = new Date(“JUNE 22 2013”) $date = DateTime(“22 JUNE 2013”) $date = Date(“22 JUNE 2013”) $date = new DateTime(“22 JUNE 2013”) $date = new Date(“JUNE 22 2013”) ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp If the format is F then which one of the following will be returned? Complete text representation of month Day of month, with leading zero Daylight saving time Day of month, without zeros Complete text representation of month Day of month, with leading zero Daylight saving time Day of month, without zeros ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::setTime() DateTime::setDate() DateTime::format() DateTime::modify() DateTime::setTime() DateTime::setDate() DateTime::format() DateTime::modify() 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? It depends on the number of hours between the local time zone and GMT There is no difference The two will never match None of these The two will only match if the local time zone is GMT It depends on the number of hours between the local time zone and GMT There is no difference The two will never match None of these The two will only match if the local time zone is GMT ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp ................Checks a date for numeric validity. check_date Verify_date verifydate checkdate check_date Verify_date verifydate checkdate 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. date_default_timezoneset() date_default_timezone_set() date_defaulttimezone_set() datedefault_timezone_set() date_default_timezoneset() date_default_timezone_set() date_defaulttimezone_set() datedefault_timezone_set() ANSWER DOWNLOAD EXAMIANS APP