PHP Date and Timestamp Among the four PHP DateTimeZone classes given below how many are static?1. listAbbreviations()2. getName()3. getOffset()4. listIdentifiers() 4 2 1 3 4 2 1 3 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_set(‘Europe/London’); date_default_timezone(‘Europe/London’); date_set_timezone(‘Europe/London’); date_set_default_timezone(‘Europe/London’); date_default_timezone_set(‘Europe/London’); date_default_timezone(‘Europe/London’); date_set_timezone(‘Europe/London’); date_set_default_timezone(‘Europe/London’); 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. datedefault_timezone_set() date_default_timezoneset() date_defaulttimezone_set() date_default_timezone_set() datedefault_timezone_set() date_default_timezoneset() date_defaulttimezone_set() date_default_timezone_set() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The getdate() function returns A floating-point number A Boolean A string An array An integer A floating-point number A Boolean A string An array An integer ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following is the right way to use the DateTime class? $date = new class DateTime(); $date = get_Class(DateTime); $date = new DateTime(); $date = class DateTime; $date = new class DateTime(); $date = get_Class(DateTime); $date = new DateTime(); $date = class DateTime; 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'); TRUE Valid FALSE Invalid TRUE Valid FALSE Invalid ANSWER DOWNLOAD EXAMIANS APP