PHP Date and Timestamp Which of the following statements can be used to set the time zone in individual scripts? date_set_default_timezone(‘Europe/London’); date_default_timezone(‘Europe/London’); date_default_timezone_set(‘Europe/London’); date_set_timezone(‘Europe/London’); date_set_default_timezone(‘Europe/London’); date_default_timezone(‘Europe/London’); date_default_timezone_set(‘Europe/London’); date_set_timezone(‘Europe/London’); ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many methods does the DateTime class have? 9 10 11 8 9 10 11 8 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 2 4 3 1 2 4 3 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which one of the following function is useful for producing a timestamp based on a given date and time. mtime() mktime() time() mrtime() mtime() mktime() time() mrtime() 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”) strtotime(“+45 days”) totime(“+45 days”) totime(“+45”) strtotime(“-45 days”) strtotime(“+45 days”) totime(“+45 days”) 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() getTranitions() getOffset() savingTime() ISODate() getTranitions() getOffset() savingTime() ANSWER DOWNLOAD EXAMIANS APP