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 4 3 2 1 4 3 2 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() datedefault_timezone_set() date_default_timezone_set() date_defaulttimezone_set() date_default_timezoneset() datedefault_timezone_set() date_default_timezone_set() date_defaulttimezone_set() ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following statements can be used to add two months to the existing date? $date = modify(‘2+ months’); $date = modify(‘+2 months’); $date->modify(‘+2 months’); $date->modify(‘2+ months’); $date = modify(‘2+ months’); $date = modify(‘+2 months’); $date->modify(‘+2 months’); $date->modify(‘2+ months’); ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp The date() function returns ___ representation of the current date and/or time. Integer Float String Boolean Integer Float String Boolean ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp ................ Formats a local time or date according to locale settings. strgtime strftime stritime strhtime strgtime strftime stritime strhtime ANSWER DOWNLOAD EXAMIANS APP
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 = Date(“22 JUNE 2013”) $date = new Date(“JUNE 22 2013”) $date = new DateTime(“22 JUNE 2013”) $date = DateTime(“22 JUNE 2013”) $date = Date(“22 JUNE 2013”) $date = new Date(“JUNE 22 2013”) $date = new DateTime(“22 JUNE 2013”) $date = DateTime(“22 JUNE 2013”) ANSWER DOWNLOAD EXAMIANS APP