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 Date(“JUNE 22 2013”) $date = Date(“22 JUNE 2013”) $date = new DateTime(“22 JUNE 2013”) $date = DateTime(“22 JUNE 2013”) $date = new Date(“JUNE 22 2013”) $date = Date(“22 JUNE 2013”) $date = new DateTime(“22 JUNE 2013”) $date = DateTime(“22 JUNE 2013”) ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What is the difference, in seconds, between the current timestamp in the GMT time zone and the current timestamp in your local time zone? There is no difference The two will only match if the local time zone is GMT It depends on the number of hours between the local time zone and GMT None of these The two will never match There is no difference The two will only match if the local time zone is GMT It depends on the number of hours between the local time zone and GMT None of these The two will never match 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() datedefault_timezone_set() date_default_timezoneset() date_defaulttimezone_set() date_default_timezone_set() datedefault_timezone_set() date_default_timezoneset() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp ................ Formats a local time or date according to locale settings. strgtime stritime strftime strhtime strgtime stritime strftime strhtime 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 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 It would output the number 0 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() 1 2 3 4 1 2 3 4 ANSWER DOWNLOAD EXAMIANS APP