PHP Date and Timestamp Which of the following is the right way to use the DateTime class? $date = new DateTime(); $date = new class DateTime(); $date = class DateTime; $date = get_Class(DateTime); $date = new DateTime(); $date = new class DateTime(); $date = class DateTime; $date = get_Class(DateTime); ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The date() function returns ___ representation of the current date and/or time. Float Integer String Boolean Float Integer String Boolean ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What would happen if the following script were run on a Windows server set to Moscow, Russia’s time zone?echo gmmktime(0, 0, 0, 1, 1, 1970); It would output the number 0 It would output nothing It would output the number -1 It would output the number 1 It would output the number 0 It would output nothing It would output the number -1 It would output the number 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Among the four PHP DateTimeZone classes given below how many are nonstatic?1. _construct()2. getName()3. getOffset()4. getTransitions() 2 1 4 3 2 1 4 3 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many methods does the DateTime class have? 10 11 8 9 10 11 8 9 ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The getdate() function returns A string A floating-point number An integer A Boolean An array A string A floating-point number An integer A Boolean An array ANSWER DOWNLOAD EXAMIANS APP