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 What will be the output of the following code?If say date is 22/06/2013.echo "Today is ".date("F d, Y") Today is June 22, 2013 Today is 22 June, 2013 Today is 06-22-2013 Today is 22-06-2013 Today is June 22, 2013 Today is 22 June, 2013 Today is 06-22-2013 Today is 22-06-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 Valid TRUE FALSE Invalid Valid TRUE FALSE 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_default_timezoneset() date_default_timezone_set() date_defaulttimezone_set() datedefault_timezone_set() date_default_timezoneset() date_default_timezone_set() date_defaulttimezone_set() datedefault_timezone_set() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The getdate() function returns An integer A Boolean A floating-point number A string An array An integer A Boolean A floating-point number A string An array ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following statements can be used to set the time zone in individual scripts? date_default_timezone(‘Europe/London’); date_set_default_timezone(‘Europe/London’); date_set_timezone(‘Europe/London’); date_default_timezone_set(‘Europe/London’); date_default_timezone(‘Europe/London’); date_set_default_timezone(‘Europe/London’); date_set_timezone(‘Europe/London’); date_default_timezone_set(‘Europe/London’); ANSWER DOWNLOAD EXAMIANS APP