PHP Date and Timestamp The getdate() function returns An integer A floating-point number An array A string A Boolean An integer A floating-point number An array A string A Boolean 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() savingTime() getTranitions() getOffset() ISODate() savingTime() getTranitions() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What will be the output of the following code?If say date is 22/06/2013.echo "Today is ".date("F d, Y") Today is June 22, 2013 Today is 22-06-2013 Today is 22 June, 2013 Today is 06-22-2013 Today is June 22, 2013 Today is 22-06-2013 Today is 22 June, 2013 Today is 06-22-2013 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? totime(“+45”) strtotime(“-45 days”) totime(“+45 days”) strtotime(“+45 days”) totime(“+45”) strtotime(“-45 days”) totime(“+45 days”) strtotime(“+45 days”) ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which method is simply an object-oriented version of date()? DateTime::modify() DateTime::setTime() DateTime::format() DateTime::setDate() DateTime::modify() DateTime::setTime() DateTime::format() DateTime::setDate() 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 It depends on the number of hours between the local time zone and GMT The two will never match There is no difference 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 The two will never match There is no difference ANSWER DOWNLOAD EXAMIANS APP