PHP Date and Timestamp How many constants does the DateTime class have? 9 8 11 10 9 8 11 10 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 days”) strtotime(“-45 days”) totime(“+45”) strtotime(“+45 days”) totime(“+45 days”) strtotime(“-45 days”) totime(“+45”) 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 It depends on the number of hours between the local time zone and GMT The two will never match The two will only match if the local time zone is GMT There is no difference None of these It depends on the number of hours between the local time zone and GMT The two will never match The two will only match if the local time zone is GMT There is no difference ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Among the four PHP DateTimeZone classes given below how many are static?1. listAbbreviations()2. getName()3. getOffset()4. listIdentifiers() 1 3 2 4 1 3 2 4 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? ISODate() savingTime() getTranitions() getOffset() ISODate() savingTime() getTranitions() getOffset() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The date() function returns ___ representation of the current date and/or time. Integer Float String Boolean Integer Float String Boolean ANSWER DOWNLOAD EXAMIANS APP