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 days”) strtotime(“+45 days”) strtotime(“-45 days”) totime(“+45”) totime(“+45 days”) strtotime(“+45 days”) strtotime(“-45 days”) totime(“+45”) ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp If the format is F then which one of the following will be returned? Daylight saving time Day of month, without zeros Day of month, with leading zero Complete text representation of month Daylight saving time Day of month, without zeros Day of month, with leading zero Complete text representation of month ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp ................Checks a date for numeric validity. checkdate check_date verifydate Verify_date checkdate check_date verifydate Verify_date 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 4 2 1 3 4 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The date() function returns ___ representation of the current date and/or time. String Boolean Integer Float String Boolean Integer Float 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); 0:00:00 00:i:00 12:i:00 12:00:00 0:00:00 00:i:00 12:i:00 12:00:00 ANSWER DOWNLOAD EXAMIANS APP