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 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 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp If the format is F then which one of the following will be returned? Day of month, without zeros Complete text representation of month Day of month, with leading zero Daylight saving time Day of month, without zeros Complete text representation of month Day of month, with leading zero Daylight saving time ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The ......... function parses an English textual date or time into a Unix timestamp. strtotime() str_to_time() strtodate() stroftime() strtotime() str_to_time() strtodate() stroftime() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What will be the output of the following PHP code if date is 24/02/2008?$date = new DateTime();echo $date->format('l,F,js,Y') Sunday, 24th February 2008 Sunday, February 24th 2008 Sunday, 24 02 2008 Sunday, 02 24 2008 Sunday, 24th February 2008 Sunday, February 24th 2008 Sunday, 24 02 2008 Sunday, 02 24 2008 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. time() mtime() mktime() mrtime() time() mtime() mktime() mrtime() 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); 12:00:00 00:i:00 12:i:00 0:00:00 12:00:00 00:i:00 12:i:00 0:00:00 ANSWER DOWNLOAD EXAMIANS APP