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, 24 02 2008 Sunday, February 24th 2008 Sunday, 02 24 2008 Sunday, 24th February 2008 Sunday, 24 02 2008 Sunday, February 24th 2008 Sunday, 02 24 2008 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which one of the following format parameter can be used to identify timezone? T I N E T I N E ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp To create an object and set the date to JUNE 22, 2013, which one of the following statement should be executed? $date = new DateTime(“22 JUNE 2013”) $date = new Date(“JUNE 22 2013”) $date = Date(“22 JUNE 2013”) $date = DateTime(“22 JUNE 2013”) $date = new DateTime(“22 JUNE 2013”) $date = new Date(“JUNE 22 2013”) $date = Date(“22 JUNE 2013”) $date = DateTime(“22 JUNE 2013”) ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What will be the output of the following PHP code?echo (checkdate(4,31,2010) ? 'Valid' : 'Invalid'); Invalid TRUE FALSE Valid Invalid TRUE FALSE Valid 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, with leading zero Day of month, without zeros Complete text representation of month Daylight saving time Day of month, with leading zero Day of month, without zeros Complete text representation of month ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp You must make a call to ................... to specify what time zone you want calculations to take place in before calling any date functions. date_defaulttimezone_set() date_default_timezone_set() date_default_timezoneset() datedefault_timezone_set() date_defaulttimezone_set() date_default_timezone_set() date_default_timezoneset() datedefault_timezone_set() ANSWER DOWNLOAD EXAMIANS APP