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 06-22-2013 Today is 22-06-2013 Today is 22 June, 2013 Today is June 22, 2013 Today is 06-22-2013 Today is 22-06-2013 Today is 22 June, 2013 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The date() function returns ___ representation of the current date and/or time. Boolean Integer Float String Boolean Integer Float String ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The getdate() function returns A string A Boolean An array An integer A floating-point number A string A Boolean An array An integer A floating-point number 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_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’); date_default_timezone(‘Europe/London’); date_set_default_timezone(‘Europe/London’); 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 = new DateTime(); $date = class DateTime; $date = get_Class(DateTime); $date = new class DateTime(); $date = new DateTime(); $date = class DateTime; $date = get_Class(DateTime); ANSWER DOWNLOAD EXAMIANS APP