PHP Date and Timestamp Among the four PHP DateTimeZone classes given below how many are static?1. listAbbreviations()2. getName()3. getOffset()4. listIdentifiers() 3 1 4 2 3 1 4 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What will the following script output?$time = strtotime ('2004/01/01');echo date ('H:i:s', $time); 00:i:00 12:i:00 12:00:00 0:00:00 00:i:00 12:i:00 12:00:00 0:00:00 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following functions do not return a timestamp?1. time()2. date()3. strtotime()4. localtime()5. gmmktime() Option 2 and 4 Option 1 and 5 Option 1 and 4 Option 2 and 4 Option 2 and 4 Option 1 and 5 Option 1 and 4 Option 2 and 4 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
PHP Date and Timestamp Which method enables you to calculate whether daylight saving time is in force at a specific date and time? getOffset() savingTime() getTranitions() ISODate() getOffset() savingTime() getTranitions() ISODate() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The getdate() function returns A Boolean A string An array A floating-point number An integer A Boolean A string An array A floating-point number An integer ANSWER DOWNLOAD EXAMIANS APP